pwn 0.5.9 → 0.5.10

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: 514c34c4e42b1393f41213d9544cd57d2e973e53e8c9b6ce842eddfe117c8a7c
4
- data.tar.gz: 49c6dc53fa59441e0dd1e05862f64a978cf088bcbbc650fcab16246dcd07403e
3
+ metadata.gz: c1b027d0d28d26dab4f24fd8f06f81309c6a66f6649ba51983ab020f4d41d25d
4
+ data.tar.gz: ecf4d3183294450e9dadbb5266b38ac61c9af524f889560c0b82b0a22009852e
5
5
  SHA512:
6
- metadata.gz: 87945569e7a360e42db017fbe9bffd90601a85a4c02ee96cfe7c5a1d6a14c9875a1e1d3281992fc914bb3c0d2d6d9ede10435851917a9ee350f8b8ab01031446
7
- data.tar.gz: 0e42da74c1d30448b6dea2c2b8f099428af726abb7744f7517a869bfe828d8c48c967c9fb30ffde8e69f86b4823bdf7eb43da030eb73ffbd0fd72c04ef2c6b7c
6
+ metadata.gz: d2dc18f121e4bcf6ecffad944af64fa04a373b66d802a0de0f41680ed584694892927ecd2340b63646c07b75b0fa47870763793b87819f2b9e2fed4cc680760b
7
+ data.tar.gz: df33214d5b0364992e07fe3cd0f03c4776d6d11d1fede10c6eb376ef42c8ec41e4b4168531f9201b5171f9463ed77ac9fb319b4f5a4e1844f9c0b3486b452f56
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.9]:001 >>> PWN.help
40
+ pwn[v0.5.10]: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.9]:001 >>> PWN.help
55
+ pwn[v0.5.10]: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.9]:001 >>> PWN.help
65
+ pwn[v0.5.10]: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/bin/pwn_phone CHANGED
@@ -54,7 +54,7 @@ OptionParser.new do |options|
54
54
  opts[:speech_to_text] = x
55
55
  end
56
56
 
57
- options.on('-xRULES', '--source-num-rules=RULES', '<Optional - Comma-delimited list of rules for src_num format (i.e. XXXXXXXXXX, self, same_country, same_area, and/or same_prefix [Defaults to random src_num w/ same length as target_num])>') do |x|
57
+ options.on('-xRULES', '--source-num-rules=RULES', '<Optional - Comma-delimited list of rules for src_num format (i.e. XXXXXXXXXX, static, self, same_country, same_area, and/or same_prefix [Defaults to random src_num w/ same length as target_num])>') do |x|
58
58
  opts[:src_num_rules] = x
59
59
  end
60
60
 
@@ -277,6 +277,8 @@ module PWN
277
277
  )
278
278
  end
279
279
 
280
+ return 'static' if src_num_rules_arr.include?(:static)
281
+
280
282
  case target_num.to_s.length
281
283
  when 10
282
284
  # area+prefix+suffix
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.9'
4
+ VERSION = '0.5.10'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-11 00:00:00.000000000 Z
11
+ date: 2024-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport