pwn 0.4.376 → 0.4.377

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: 44816c0131b0b811c384aab18addb9ae4912c36818821c3f5553bc63380f1e04
4
- data.tar.gz: 6ea9f0b5f128cb8ed416a0bf11e5339b8da7fef8aafaaf9939f17a27d2575bff
3
+ metadata.gz: de165b3f5248b720a1a3e2a5e809c389555380dede379064795691c8b15ba3a5
4
+ data.tar.gz: 0e96053771f9d550cf8013898bc92a3baf27244264993456de15eebd3ac64303
5
5
  SHA512:
6
- metadata.gz: 749a1163282ddc924c2b66209f4a37c53f6f26e50e4b398b187a11023470b71b283c5f31d4fc13e4db4755633e268c9d8a3a0c70f025b5fe35dfc2163c0f1b0a
7
- data.tar.gz: 94c9434d68e360851884a6476b4a36cbd85d62b3773eb57be239b05ebb5bb9c232df1fb25db298c08f273624b637b419cf881dce0de62e90fceed5ef0c6d4ef4
6
+ metadata.gz: 116246eb9340219e85b320371592c6a9ee1f7eeb7a72b4021bd66f044e81b723336c5ceb9a68a71f3aa780625cd3fdb027515c77a58484e72bd2da6bbb3cbc05
7
+ data.tar.gz: d3f9f4091560ac55f5c3a25d02ffecf520d874bd5f968613418699cca2aaf5add4239d33315e7da924d7183720d508235ac7db276d35ff208a185b257182e548
data/README.md CHANGED
@@ -36,7 +36,7 @@ $ rvm list gemsets
36
36
  $ rvm use ruby-<VERSION>@pwn
37
37
  $ gem install --verbose pwn
38
38
  $ pwn
39
- pwn[v0.4.376]:001 >>> PWN.help
39
+ pwn[v0.4.377]:001 >>> PWN.help
40
40
  ```
41
41
 
42
42
  [![Installing the pwn Security Automation Framework](https://raw.githubusercontent.com/0dayInc/pwn/master/documentation/pwn_install.png)](https://youtu.be/G7iLUY4FzsI)
@@ -51,7 +51,7 @@ $ rvm use ruby-<VERSION>@pwn
51
51
  $ gem uninstall --all --executables pwn
52
52
  $ gem install --verbose pwn
53
53
  $ pwn
54
- pwn[v0.4.376]:001 >>> PWN.help
54
+ pwn[v0.4.377]:001 >>> PWN.help
55
55
  ```
56
56
 
57
57
 
@@ -315,6 +315,9 @@ module PWN
315
315
  with_devtools: 'optional - boolean (defaults to false)'
316
316
  )
317
317
  puts browser_obj1.public_methods
318
+ * Only works w/ Chrome
319
+ * All DevTools Commands can be found here:
320
+ * https://chromedevtools.github.io/devtools-protocol/
318
321
  devtools = browser_obj1.driver.devtools
319
322
  puts devtools.public_methods
320
323
  puts devtools.instance_variables
@@ -323,8 +326,10 @@ module PWN
323
326
  devtools.send_cmd('Tracing.requestMemoryDump')
324
327
  devtools.send_cmd('Tracing.end')
325
328
  puts devtools.instance_variable_get('@messages')
326
- * All DevTools Commands can be found here:
327
- https://chromedevtools.github.io/devtools-protocol/
329
+ devtools.send_cmd('Network.enable')
330
+ last_ws_resp = devtools.instance_variable_get('@messages').last if devtools.instance_variable_get('@messages')['method'] == 'Network.webSocketFrameReceived'
331
+ puts last_ws_resp
332
+ devtools.send_cmd('Network.disable')
328
333
 
329
334
  browser_obj1 = #{self}.linkout(
330
335
  browser_obj: 'required - browser_obj returned from #open method)'
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.376'
4
+ VERSION = '0.4.377'
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.376
4
+ version: 0.4.377
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.