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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '05916fef3edb2768072bcfac80cfa0f9006f618093fd1069a63df2fe74e86e5d'
4
- data.tar.gz: 18f9f01eac75203df7f794b63b2b5318a3383b19c0dd6cd15b270854301c6203
3
+ metadata.gz: 514c34c4e42b1393f41213d9544cd57d2e973e53e8c9b6ce842eddfe117c8a7c
4
+ data.tar.gz: 49c6dc53fa59441e0dd1e05862f64a978cf088bcbbc650fcab16246dcd07403e
5
5
  SHA512:
6
- metadata.gz: 7e69071ec3e454c14e062630dd0a798f031552c0e99789a6f68a09ee8abcce97bd49255d2a0c4048fa7643762fbe8a25812f2e477198afb77fd336da834699df
7
- data.tar.gz: 44e37641a04b51a1483d88153eed283e9500a0bb596aec35380b1098158215983fdaa3e7bb25c2edce2b0d16e6c91118c5e103929fded8587b91d236d23497bb
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.8]:001 >>> PWN.help
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.8]:001 >>> PWN.help
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.8]:001 >>> PWN.help
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:
@@ -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
- absolute_speech_to_text = "#{absolute_recording}.txt"
578
- relative_speech_to_text = "#{relative_recording}.txt"
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PWN
4
- VERSION = '0.5.8'
4
+ VERSION = '0.5.9'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.