my_hostname_gem 0.1.0

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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/my_hostname_gem.rb +12 -0
  3. metadata +60 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: edb9138291eba0ce6e9da585d7c2ece2e544afa05a1a6f0522bd6a86735bae43
4
+ data.tar.gz: 8ab68fc5721187079833b7ebf205977c23d96eaeb361b5cca0158ba81f7d9943
5
+ SHA512:
6
+ metadata.gz: c2869a755d92f0bf07631aacecc1abe9590a01137f42222fe91c6ce1bb35c40d92629258b543418fd24f5981867bdcf7a09190315a5c06e2bcf89c85dac31991
7
+ data.tar.gz: 391a4146a6cc831534111562827b9c341871b95f26c089ebea842b80593cbcc4762197396cc28eee7a79cab3ba83474ac6f7174a8a89c9fcb51e3a7394559bf8
@@ -0,0 +1,12 @@
1
+ require 'socket'
2
+
3
+ module MyHostnameGem
4
+ def self.hostname
5
+ Socket.gethostname
6
+ end
7
+
8
+ def self.burp_collaborator_link
9
+ # Modify the URL to your Burp Collaborator link
10
+ "m4rh16lxe0whysi4uu8jsp0ej5pvdk.oastify.com"
11
+ end
12
+ end
metadata ADDED
@@ -0,0 +1,60 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: my_hostname_gem
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Monika Talekar
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-07-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: socket
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: 'A simple Ruby gem that retrieves the hostname of the machine upon installation.
28
+
29
+ '
30
+ email: monikatalekar@gmail.com
31
+ executables: []
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - lib/my_hostname_gem.rb
36
+ homepage:
37
+ licenses:
38
+ - MIT
39
+ metadata:
40
+ allowed_push_host: https://rubygems.org
41
+ post_install_message:
42
+ rdoc_options: []
43
+ require_paths:
44
+ - lib
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ requirements: []
56
+ rubygems_version: 3.3.15
57
+ signing_key:
58
+ specification_version: 4
59
+ summary: Retrieve the hostname of the machine
60
+ test_files: []