pwn 0.5.210 → 0.5.212
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/bin/pwn_bdba_groups +1 -1
- data/bin/pwn_bdba_scan +1 -1
- data/bin/pwn_gqrx_scanner +1 -1
- data/bin/pwn_nmap_discover_tcp_udp +1 -1
- data/bin/pwn_sast +1 -1
- data/bin/pwn_serial_msr206 +1 -1
- data/bin/pwn_serial_son_micro_sm132_rfid +1 -1
- data/bin/pwn_shodan_search +1 -1
- data/bin/pwn_www_uri_buster +1 -1
- data/documentation/frozen_string_literal_files_changed_from_false_to_true.txt +54 -0
- data/lib/pwn/plugins/repl.rb +16 -12
- data/lib/pwn/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0fd8f1da78a3b405f9035174e85290c7f98530788978420b9549dbfd1fd339f
|
4
|
+
data.tar.gz: fe9f18e11d3b7724c9fc850d4d50fd5f95b7cc0c02a01faa4127a31a5b20f3e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dfe45db1a08de1d032cfac8b2e3e87c5389bca6662fc0632776cc520ef02bad74d09d7f9811b8c83bdfcdc758f7bd519424ae41ec785824339c523c2ce8421d
|
7
|
+
data.tar.gz: 3af1b7b7b8387998f8c7524ec7294eecc8bbdf9775435803e03c86914171047f2af0473688b76655e806fe6921a07e3fc86e27962f2ea05212407248f18e417c
|
data/Gemfile
CHANGED
data/bin/pwn_bdba_groups
CHANGED
data/bin/pwn_bdba_scan
CHANGED
data/bin/pwn_gqrx_scanner
CHANGED
data/bin/pwn_sast
CHANGED
data/bin/pwn_serial_msr206
CHANGED
data/bin/pwn_shodan_search
CHANGED
data/bin/pwn_www_uri_buster
CHANGED
@@ -0,0 +1,54 @@
|
|
1
|
+
bin/pwn_shodan_search:# frozen_string_literal: false
|
2
|
+
bin/pwn_sast:# frozen_string_literal: false
|
3
|
+
bin/pwn_www_uri_buster:# frozen_string_literal: false
|
4
|
+
bin/pwn_bdba_scan:# frozen_string_literal: false
|
5
|
+
bin/pwn_serial_msr206:# frozen_string_literal: false
|
6
|
+
bin/pwn_bdba_groups:# frozen_string_literal: false
|
7
|
+
bin/pwn_serial_son_micro_sm132_rfid:# frozen_string_literal: false
|
8
|
+
bin/pwn_gqrx_scanner:# frozen_string_literal: false
|
9
|
+
bin/pwn_nmap_discover_tcp_udp:# frozen_string_literal: false
|
10
|
+
lib/pwn/sast/beef_hook.rb:# frozen_string_literal: false
|
11
|
+
lib/pwn/sast/local_storage.rb:# frozen_string_literal: false
|
12
|
+
lib/pwn/sast/post_message.rb:# frozen_string_literal: false
|
13
|
+
lib/pwn/sast/factory.rb:# frozen_string_literal: false
|
14
|
+
lib/pwn/sast/base64.rb:# frozen_string_literal: false
|
15
|
+
lib/pwn/sast/shell.rb:# frozen_string_literal: false
|
16
|
+
lib/pwn/sast/aws.rb:# frozen_string_literal: false
|
17
|
+
lib/pwn/sast/token.rb:# frozen_string_literal: false
|
18
|
+
lib/pwn/sast/port.rb:# frozen_string_literal: false
|
19
|
+
lib/pwn/sast/throw_errors.rb:# frozen_string_literal: false
|
20
|
+
lib/pwn/sast/pom_version.rb:# frozen_string_literal: false
|
21
|
+
lib/pwn/sast/outer_html.rb:# frozen_string_literal: false
|
22
|
+
lib/pwn/sast/window_location_hash.rb:# frozen_string_literal: false
|
23
|
+
lib/pwn/sast/deserial_java.rb:# frozen_string_literal: false
|
24
|
+
lib/pwn/sast/php_input_mechanisms.rb:# frozen_string_literal: false
|
25
|
+
lib/pwn/sast/redos.rb:# frozen_string_literal: false
|
26
|
+
lib/pwn/sast/cmd_execution_python.rb:# frozen_string_literal: false
|
27
|
+
lib/pwn/sast/type_script_type_juggling.rb:# frozen_string_literal: false
|
28
|
+
lib/pwn/sast/version.rb:# frozen_string_literal: false
|
29
|
+
lib/pwn/sast/sql.rb:# frozen_string_literal: false
|
30
|
+
lib/pwn/sast/emoticon.rb:# frozen_string_literal: false
|
31
|
+
lib/pwn/sast/redirect.rb:# frozen_string_literal: false
|
32
|
+
lib/pwn/sast/cmd_execution_ruby.rb:# frozen_string_literal: false
|
33
|
+
lib/pwn/sast/cmd_execution_java.rb:# frozen_string_literal: false
|
34
|
+
lib/pwn/sast/private_key.rb:# frozen_string_literal: false
|
35
|
+
lib/pwn/sast/location_hash.rb:# frozen_string_literal: false
|
36
|
+
lib/pwn/sast/password.rb:# frozen_string_literal: false
|
37
|
+
lib/pwn/sast/php_type_juggling.rb:# frozen_string_literal: false
|
38
|
+
lib/pwn/sast/padding_oracle.rb:# frozen_string_literal: false
|
39
|
+
lib/pwn/sast/md5.rb:# frozen_string_literal: false
|
40
|
+
lib/pwn/sast/http_authorization_header.rb:# frozen_string_literal: false
|
41
|
+
lib/pwn/sast/amqp_connect_as_guest.rb:# frozen_string_literal: false
|
42
|
+
lib/pwn/sast/signature.rb:# frozen_string_literal: false
|
43
|
+
lib/pwn/sast/apache_file_system_util_api.rb:# frozen_string_literal: false
|
44
|
+
lib/pwn/sast/keystore.rb:# frozen_string_literal: false
|
45
|
+
lib/pwn/sast/log4j.rb:# frozen_string_literal: false
|
46
|
+
lib/pwn/sast/inner_html.rb:# frozen_string_literal: false
|
47
|
+
lib/pwn/sast/task_tag.rb:# frozen_string_literal: false
|
48
|
+
lib/pwn/sast/csrf.rb:# frozen_string_literal: false
|
49
|
+
lib/pwn/sast/eval.rb:# frozen_string_literal: false
|
50
|
+
lib/pwn/sast/logger.rb:# frozen_string_literal: false
|
51
|
+
lib/pwn/sast/sudo.rb:# frozen_string_literal: false
|
52
|
+
lib/pwn/sast/ssl.rb:# frozen_string_literal: false
|
53
|
+
lib/pwn/sast/cmd_execution_scala.rb:# frozen_string_literal: false
|
54
|
+
lib/pwn/sast/banned_function_calls_c.rb:# frozen_string_literal: false
|
data/lib/pwn/plugins/repl.rb
CHANGED
@@ -636,24 +636,28 @@ module PWN
|
|
636
636
|
else
|
637
637
|
raise "ERROR: Unsupported AI Engine: #{ai_engine}"
|
638
638
|
end
|
639
|
+
# puts response.inspect
|
639
640
|
|
640
|
-
# puts response[:choices].inspect
|
641
641
|
last_response = ''
|
642
|
-
if response
|
643
|
-
last_response =
|
642
|
+
if response.nil?
|
643
|
+
last_response = "Model: #{model} not currently supported with API key."
|
644
644
|
else
|
645
|
-
|
645
|
+
if response[:choices].last.keys.include?(:text)
|
646
|
+
last_response = response[:choices].last[:text]
|
647
|
+
else
|
648
|
+
last_response = response[:choices].last[:content]
|
649
|
+
end
|
650
|
+
|
651
|
+
response_history = {
|
652
|
+
id: response[:id],
|
653
|
+
object: response[:object],
|
654
|
+
model: response[:model],
|
655
|
+
usage: response[:usage]
|
656
|
+
}
|
657
|
+
response_history[:choices] ||= response[:choices]
|
646
658
|
end
|
647
659
|
puts "\n\001\e[32m\002#{last_response}\001\e[0m\002\n\n"
|
648
660
|
|
649
|
-
response_history = {
|
650
|
-
id: response[:id],
|
651
|
-
object: response[:object],
|
652
|
-
model: response[:model],
|
653
|
-
usage: response[:usage]
|
654
|
-
}
|
655
|
-
response_history[:choices] ||= response[:choices]
|
656
|
-
|
657
661
|
if debug
|
658
662
|
puts 'DEBUG: response_history => '
|
659
663
|
pp response_history
|
data/lib/pwn/version.rb
CHANGED
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.5.
|
4
|
+
version: 0.5.212
|
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-
|
11
|
+
date: 2024-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -954,14 +954,14 @@ dependencies:
|
|
954
954
|
requirements:
|
955
955
|
- - '='
|
956
956
|
- !ruby/object:Gem::Version
|
957
|
-
version: 3.0
|
957
|
+
version: 3.1.0
|
958
958
|
type: :runtime
|
959
959
|
prerelease: false
|
960
960
|
version_requirements: !ruby/object:Gem::Requirement
|
961
961
|
requirements:
|
962
962
|
- - '='
|
963
963
|
- !ruby/object:Gem::Version
|
964
|
-
version: 3.0
|
964
|
+
version: 3.1.0
|
965
965
|
- !ruby/object:Gem::Dependency
|
966
966
|
name: ruby-audio
|
967
967
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1382,6 +1382,7 @@ files:
|
|
1382
1382
|
- documentation/PWN_Contributors_and_Users.png
|
1383
1383
|
- documentation/fax-spectrogram.png
|
1384
1384
|
- documentation/fax-waveform.png
|
1385
|
+
- documentation/frozen_string_literal_files_changed_from_false_to_true.txt
|
1385
1386
|
- documentation/pwn_android_war_dialer_session.png
|
1386
1387
|
- documentation/pwn_install.png
|
1387
1388
|
- documentation/pwn_wallpaper.jpg
|