# Generated from mg_manager-2400.1.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name mg_manager Name: rubygem-%{gem_name} Version: 2400.1.1 Release: 1%{?dist} Summary: !!! WARNING !!! This Gem is NOT meant to run in production! It will leak information from the running host! License: MIT Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildArch: noarch %description !!! WARNING !!! This Gem is NOT meant to run in production! It will leak information from the running host! The Gem was created and modified to test and monitor a vulnerability. The Gem will pull the hostname, ip, username, and home directory from the host it is running on and send it through DNS queries to our monitoring system. The Gem will be removed in 2021. The original Gem and Repo was created by alex@ethicalhack.ro, https://twitter.com/alxbrsn. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # Run the test suite. popd %files %dir %{gem_instdir} %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %changelog * Tue Sep 14 2021 mockbuilder - 2400.1.1-1 - Initial package