pwn 0.4.522 → 0.4.523

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: 6533b6e61c14117954e65f98867f0ed01525d0be080b483183f73ee1a498fdda
4
- data.tar.gz: 6f2142e1e87fd1dff7666f74b6df81b06dc60c53017a08680d87664188753045
3
+ metadata.gz: 7bc470b95387f5ab93968d1f368cc48904ae50465b74cbcdddaf4d5211b4ce4f
4
+ data.tar.gz: 6d04dbdb7b479faff47ab162fe03330be7f8ab2b851307167a44d3c0628114e4
5
5
  SHA512:
6
- metadata.gz: 2a12e0c4324052400eae6b28a2f8d74b8b1af3ef5191e3a8fc6190b236991022d0003b91e777e55ecd4c2be0208c865101c2d0504b41f61df0be220dd4987863
7
- data.tar.gz: f1472201917c401647937174846576536fb6f2ae7d6b7dabb94f51e1d16c9f304c91bcc4934f59d48ef54af468e02bf4b4f58044fecb4918b2e9038e3837423e
6
+ metadata.gz: 97bfd2924108fdeb1c0762b5cf99f99a1b8094d2687a41f7e0ba501dabf962a815a52e0ed126b15b2c9b715282341da7cbd896dc4a5d531a8f044a455f71b338
7
+ data.tar.gz: 3ac24cdf702f4ade7ea3eeff59efcd812ffaee25f76f8267622495bb3be5c16df8d042176db64c7fc7ef205aefea919e0b9557f450bcc93f5f470478fda43f15
data/README.md CHANGED
@@ -37,7 +37,7 @@ $ rvm use ruby-3.1.2@pwn
37
37
  $ rvm list gemsets
38
38
  $ gem install --verbose pwn
39
39
  $ pwn
40
- pwn[v0.4.522]:001 >>> PWN.help
40
+ pwn[v0.4.523]: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.1.2@pwn
52
52
  $ gem uninstall --all --executables pwn
53
53
  $ gem install --verbose pwn
54
54
  $ pwn
55
- pwn[v0.4.522]:001 >>> PWN.help
55
+ pwn[v0.4.523]:001 >>> PWN.help
56
56
  ```
57
57
 
58
58
 
@@ -44,8 +44,6 @@ end
44
44
 
45
45
  begin
46
46
  target_url = opts[:target_url]
47
- raise "ERROR: Invalid URL #{target_url}\nBe sure to include URL scheme (e.g. http://)" if target_url =~ URI::DEFAULT_PARSER.make_regexp.nil?
48
-
49
47
  parsed_target_url = URI.parse(target_url)
50
48
 
51
49
  wordlist = opts[:wordlist]
@@ -88,7 +86,7 @@ begin
88
86
  rest_client_resp_hash = {}
89
87
  http_uri = "#{target_url}/#{wordlist_line}"
90
88
  rest_client = PWN::Plugins::TransparentBrowser.open(browser_type: :rest)::Request
91
- response = rest_client_request.execute(
89
+ response = rest_client.execute(
92
90
  method: http_method,
93
91
  url: http_uri,
94
92
  verify_ssl: false
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.522'
4
+ VERSION = '0.4.523'
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.522
4
+ version: 0.4.523
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.