snackhack2 0.6.7 → 0.6.9

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.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snackhack2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.7
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - mike
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-10-26 00:00:00.000000000 Z
11
+ date: 2026-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -76,6 +76,7 @@ files:
76
76
  - lib/snackhack2.rb
77
77
  - lib/snackhack2/CVE-2017-9841.rb
78
78
  - lib/snackhack2/Honeywell_PM43.rb
79
+ - lib/snackhack2/SSL.rb
79
80
  - lib/snackhack2/WP_Symposium.rb
80
81
  - lib/snackhack2/bannergrabber.rb
81
82
  - lib/snackhack2/bypass_403.rb
@@ -86,6 +87,7 @@ files:
86
87
  - lib/snackhack2/emails.rb
87
88
  - lib/snackhack2/forward_remote.rb
88
89
  - lib/snackhack2/google_analytics.rb
90
+ - lib/snackhack2/host_injection.rb
89
91
  - lib/snackhack2/indirect_command_injection.rb
90
92
  - lib/snackhack2/iplookup.rb
91
93
  - lib/snackhack2/list_users.rb
@@ -97,9 +99,9 @@ files:
97
99
  - lib/snackhack2/portscan.rb
98
100
  - lib/snackhack2/reverse_shell.rb
99
101
  - lib/snackhack2/robots.rb
102
+ - lib/snackhack2/ruby_comments.rb
100
103
  - lib/snackhack2/screenshots.rb
101
104
  - lib/snackhack2/sitemap.rb
102
- - lib/snackhack2/ssh.rb
103
105
  - lib/snackhack2/sshbrute.rb
104
106
  - lib/snackhack2/ssrf.rb
105
107
  - lib/snackhack2/subdomains.rb
@@ -1,15 +0,0 @@
1
- require 'socket'
2
-
3
- # Grab the banner of a given +ip+ address and +port+
4
- # to attempt to connect to.
5
- #
6
- # @param ip [String] Target IP address.
7
- # @param port [Integer] Target port.
8
- #
9
- # @return [String]
10
- def grab_banner(ip, port)
11
- TCPSocket.new(ip, port).recv(1024)
12
- end
13
-
14
- # Print the result of the method to STDOUT.
15
- puts grab_banner('100.106.14.40', 22)