pwn 0.5.8 → 0.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/pwn/plugins/baresip.rb +9 -2
- data/lib/pwn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 514c34c4e42b1393f41213d9544cd57d2e973e53e8c9b6ce842eddfe117c8a7c
|
4
|
+
data.tar.gz: 49c6dc53fa59441e0dd1e05862f64a978cf088bcbbc650fcab16246dcd07403e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87945569e7a360e42db017fbe9bffd90601a85a4c02ee96cfe7c5a1d6a14c9875a1e1d3281992fc914bb3c0d2d6d9ede10435851917a9ee350f8b8ab01031446
|
7
|
+
data.tar.gz: 0e42da74c1d30448b6dea2c2b8f099428af726abb7744f7517a869bfe828d8c48c967c9fb30ffde8e69f86b4823bdf7eb43da030eb73ffbd0fd72c04ef2c6b7c
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ $ cd /opt/pwn
|
|
37
37
|
$ ./install.sh
|
38
38
|
$ ./install.sh ruby-gem
|
39
39
|
$ pwn
|
40
|
-
pwn[v0.5.
|
40
|
+
pwn[v0.5.9]:001 >>> PWN.help
|
41
41
|
```
|
42
42
|
|
43
43
|
[![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
|
@@ -52,7 +52,7 @@ $ rvm use ruby-3.3.0@pwn
|
|
52
52
|
$ gem uninstall --all --executables pwn
|
53
53
|
$ gem install --verbose pwn
|
54
54
|
$ pwn
|
55
|
-
pwn[v0.5.
|
55
|
+
pwn[v0.5.9]:001 >>> PWN.help
|
56
56
|
```
|
57
57
|
|
58
58
|
If you're using a multi-user install of RVM do:
|
@@ -62,7 +62,7 @@ $ rvm use ruby-3.3.0@pwn
|
|
62
62
|
$ rvmsudo gem uninstall --all --executables pwn
|
63
63
|
$ rvmsudo gem install --verbose pwn
|
64
64
|
$ pwn
|
65
|
-
pwn[v0.5.
|
65
|
+
pwn[v0.5.9]:001 >>> PWN.help
|
66
66
|
```
|
67
67
|
|
68
68
|
PWN periodically upgrades to the latest version of Ruby which is reflected in `/opt/pwn/.ruby-version`. The easiest way to upgrade to the latest version of Ruby from a previous PWN installation is to run the following script:
|
data/lib/pwn/plugins/baresip.rb
CHANGED
@@ -574,8 +574,15 @@ module PWN
|
|
574
574
|
|
575
575
|
call_resp_hash[:speech_to_text] = 'N/A'
|
576
576
|
if speech_to_text
|
577
|
-
|
578
|
-
|
577
|
+
abs_rec_dir = File.dirname(absolute_recording)
|
578
|
+
abs_rec_file = File.basename(absolute_recording, '.*')
|
579
|
+
absolute_speech_to_text = "#{abs_rec_dir}/#{abs_rec_file}.txt"
|
580
|
+
# absolute_speech_to_text = "#{absolute_recording}.txt"
|
581
|
+
|
582
|
+
rel_rec_dir = File.dirname(relative_recording)
|
583
|
+
rel_rec_file = File.basename(relative_recording, '.*')
|
584
|
+
relative_speech_to_text = "#{rel_rec_dir}/#{rel_rec_file}.txt"
|
585
|
+
# relative_speech_to_text = "#{relative_recording}.txt"
|
579
586
|
PWN::Plugins::Voice.speech_to_text(
|
580
587
|
audio_file_path: absolute_recording,
|
581
588
|
output_dir: target_num_root
|
data/lib/pwn/version.rb
CHANGED