pwn 0.4.809 → 0.4.812

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3a66f4dc0df7d68e1b6e2c1514aff4642802973b5e0e9e7d082206befd69f07
4
- data.tar.gz: f9944df718d590c7a1c1b591c9f7dd2eb3fdfc1d2014905fdb8ce2e7791f48de
3
+ metadata.gz: 798956bcdaffc7fdc43335886db2e1f9a8fc1223fc0fc37a17076ccf9b41d083
4
+ data.tar.gz: 476d6d5f2c5a5164272c886582872d64539c515447ede32c8ac1fbf813146228
5
5
  SHA512:
6
- metadata.gz: 7c05afa8cc33f4f03b289dd5f871a27070a5f24ecb6415aa393f21edd39fc57e4b1bd4baef368984944c39c648827e5ac9cb44186f120ec4198385eb303e4789
7
- data.tar.gz: 4d426e821fc40814c897be419ac3ea575121aa6cd4f52606382ed7254d17324145c87cdb7adee89dbb3f8f422d75389c1114cf1340b0cd75cb7a325727f947e0
6
+ metadata.gz: 2d30ff22b56c3898e05d39d844c71f804107ae1b9b51cc3f07453e862dd22a3a0c58f24f464ed7c62ca75f1aa8929ffa1cce0f9f7fe3f94d53cec4de1f315e95
7
+ data.tar.gz: 02eb4f20ee246b0553bbb6aff7eb57d778fed48f659b353f08a1dd370a3bb1a2dc18c15e57f7bc81f7e289b261600057cf238c460a8570b74d6348e97eec7bd7
data/Gemfile CHANGED
@@ -42,7 +42,6 @@ gem 'luhn', '1.0.2'
42
42
  gem 'mail', '2.8.1'
43
43
  gem 'mongo', '2.19.1'
44
44
  gem 'msfrpc-client', '1.1.2'
45
- gem 'neovim', '0.9.0'
46
45
  gem 'netaddr', '2.0.6'
47
46
  gem 'net-ldap', '0.18.0'
48
47
  gem 'net-openvpn', '0.8.7'
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.2.2@pwn
37
37
  $ rvm list gemsets
38
38
  $ gem install --verbose pwn
39
39
  $ pwn
40
- pwn[v0.4.809]:001 >>> PWN.help
40
+ pwn[v0.4.812]: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.2.2@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.809]:001 >>> PWN.help
55
+ pwn[v0.4.812]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -21,6 +21,10 @@ OptionParser.new do |options|
21
21
  opts[:wordlist] = w
22
22
  end
23
23
 
24
+ options.on('-aPATTERN', '--append=PATTERN', '<Optional - Append Pattern to Each Entry in the Wordlist (e.g .inc, .BAK, .git, etc>') do |a|
25
+ opts[:append_pattern] = a
26
+ end
27
+
24
28
  options.on('-pPROXY', '--proxy=PROXY', '<Optional - Proxy SCHEME://ADDRESS:PORT>') do |p|
25
29
  opts[:proxy] = p
26
30
  end
@@ -150,6 +154,7 @@ begin
150
154
  wordlist = opts[:wordlist]
151
155
  raise "ERROR: #{wordlist} Does Not Exist." unless File.exist?(wordlist)
152
156
 
157
+ append_pattern = opts[:append_pattern]
153
158
  proxy = opts[:proxy]
154
159
 
155
160
  max_threads = opts[:max_threads]
@@ -191,7 +196,7 @@ begin
191
196
  target_url: target_url,
192
197
  proxy: proxy,
193
198
  http_request_headers: http_request_headers,
194
- wordlist_line: wordlist_line,
199
+ wordlist_line: "#{wordlist_line}#{append_pattern}",
195
200
  http_method: http_method
196
201
  )
197
202
 
@@ -10,13 +10,13 @@ module PWN
10
10
  # PWN::Plugins::DetectOS.type
11
11
 
12
12
  public_class_method def self.type
13
- return :cygwin if OS.cygwin?
14
- return :freebsd if OS.freebsd?
15
- return :linux if OS.linux?
16
- return :netbsd if OS.host_os.include?('netbsd')
17
- return :openbsd if OS.host_os.include?('openbsd')
18
- return :osx if OS.osx?
19
- return :windows if OS.windows?
13
+ :cygwin if OS.cygwin?
14
+ :freebsd if OS.freebsd?
15
+ :linux if OS.linux?
16
+ :netbsd if OS.host_os.include?('netbsd')
17
+ :openbsd if OS.host_os.include?('openbsd')
18
+ :osx if OS.osx?
19
+ :windows if OS.windows?
20
20
  rescue StandardError => e
21
21
  raise e
22
22
  end
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.4.809'
4
+ VERSION = '0.4.812'
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.4.809
4
+ version: 0.4.812
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
@@ -430,20 +430,6 @@ dependencies:
430
430
  - - '='
431
431
  - !ruby/object:Gem::Version
432
432
  version: 1.1.2
433
- - !ruby/object:Gem::Dependency
434
- name: neovim
435
- requirement: !ruby/object:Gem::Requirement
436
- requirements:
437
- - - '='
438
- - !ruby/object:Gem::Version
439
- version: 0.9.0
440
- type: :runtime
441
- prerelease: false
442
- version_requirements: !ruby/object:Gem::Requirement
443
- requirements:
444
- - - '='
445
- - !ruby/object:Gem::Version
446
- version: 0.9.0
447
433
  - !ruby/object:Gem::Dependency
448
434
  name: netaddr
449
435
  requirement: !ruby/object:Gem::Requirement