pwn 0.4.815 → 0.4.817

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: 6566c8553bc576ffce7cf5388d204c51da03a4d3e1202ad41e1325909d3de0f4
4
- data.tar.gz: d69f58605f938a6f7d3449b1afea1b24a562299a10e3d944f71130f5c9d218b2
3
+ metadata.gz: 307dbde1614d50f0e92d2c4429cb501bcb8d064b9a268af43630128514a3de1c
4
+ data.tar.gz: d5a28f791bf11c6d9f96d2ab820fcfc81f24e94f28c7a35a25fcbc3ea8d5fec9
5
5
  SHA512:
6
- metadata.gz: cb244f903461ac2c7b5cc66beb392a1158f1c0ecb412713d712ae53380b044f7055b272383f28a319ae58fdee10779a01d18ac5222f473b26f17372e0f06ef6a
7
- data.tar.gz: 4927eacf5a4e8656a0bfe327c43c3b731026bd08ed8ffeef30a087d2e7077092ac06e6350d1c1f8b7dcd89916ea40e5d6f680ea97e7225ebd16ca67e7acd2796
6
+ metadata.gz: 2a5d9c0173b8f182027279c27f3ca919ad786cc7297bc5332415268f8870f1448069ce91a03b0a7ea032d849475938f2545cc4fcf62c53ffe2b6fa3d3456d446
7
+ data.tar.gz: b1dfa5aadfd2bcb8c0beb2f82265602799c9a83ca5dbb09814f08a147f6f7c308d38812b80df1e06cd95952f4541e87a0e3557a9644a63c6a8f1a3c73dd09dae
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.815]:001 >>> PWN.help
40
+ pwn[v0.4.817]: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.815]:001 >>> PWN.help
55
+ pwn[v0.4.817]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -75,6 +75,11 @@ def request_path(opts = {})
75
75
  browser_type: :rest,
76
76
  proxy: proxy
77
77
  )
78
+
79
+ if proxy == 'tor'
80
+ tor_obj = browser_obj[:tor_obj]
81
+ PWN::Plugins::Tor.switch_exit_node(tor_obj: tor_obj)
82
+ end
78
83
  else
79
84
  browser_obj = PWN::Plugins::TransparentBrowser.open(
80
85
  browser_type: :rest
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.815'
4
+ VERSION = '0.4.817'
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.4.815
4
+ version: 0.4.817
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-10 00:00:00.000000000 Z
11
+ date: 2023-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport