evil-winrm: fix startup with ruby 3.4

This commit is contained in:
Letgamer
2026-09-19 16:42:38 +02:00
parent b85f329572
commit 4a27f59510
4 changed files with 88 additions and 4 deletions

View File

@@ -1,7 +1,11 @@
source 'https://rubygems.org'
gem 'benchmark'
gem 'csv'
gem 'fileutils'
gem 'logger'
gem 'readline'
gem 'stringio'
gem 'syslog'
gem 'winrm'
gem 'winrm-fs'
gem 'stringio'
gem 'logger'
gem 'fileutils'

View File

@@ -2,8 +2,10 @@ GEM
remote: https://rubygems.org/
specs:
base64 (0.3.0)
benchmark (0.5.0)
bigdecimal (3.3.1)
builder (3.3.0)
csv (3.3.6)
erubi (1.13.1)
ffi (1.17.2)
fileutils (1.7.3)
@@ -14,6 +16,7 @@ GEM
rexml (~> 3.0)
httpclient (2.9.0)
mutex_m
io-console (0.9.4)
little-plugger (1.1.4)
logger (1.7.0)
logging (2.4.0)
@@ -23,11 +26,17 @@ GEM
mutex_m (0.3.0)
nori (2.7.1)
bigdecimal
readline (0.0.4)
reline
reline (0.7.0)
io-console (~> 0.5)
rexml (3.4.4)
rubyntlm (0.6.5)
base64
rubyzip (2.4.1)
stringio (3.1.7)
syslog (0.4.0)
logger
winrm (2.3.9)
builder (>= 2.1.2)
erubi (~> 1.8)
@@ -48,11 +57,15 @@ PLATFORMS
ruby
DEPENDENCIES
benchmark
csv
fileutils
logger
readline
stringio
syslog
winrm
winrm-fs
BUNDLED WITH
2.7.1
2.6.9

View File

@@ -9,6 +9,16 @@
};
version = "0.3.0";
};
benchmark = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0v1337j39w1z7x9zs4q7ag0nfv4vs4xlsjx2la0wpv8s6hig2pa6";
type = "gem";
};
version = "0.5.0";
};
bigdecimal = {
groups = [ "default" ];
platforms = [ ];
@@ -29,6 +39,16 @@
};
version = "3.3.0";
};
csv = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0mj4kq4wwpc7c8ll52q30hsir1jrcd5kq7yb8lyz0rksa1z1x9mb";
type = "gem";
};
version = "3.3.6";
};
erubi = {
groups = [ "default" ];
platforms = [ ];
@@ -95,6 +115,16 @@
};
version = "2.9.0";
};
io-console = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1cgvhm0d4awr8j42b8v1nl1jfgx45ihv8mylargfi3lj697k00x4";
type = "gem";
};
version = "0.9.4";
};
little-plugger = {
groups = [ "default" ];
platforms = [ ];
@@ -160,6 +190,28 @@
};
version = "2.7.1";
};
readline = {
dependencies = [ "reline" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0shxkj3kbwl43rpg490k826ibdcwpxiymhvjnsc85fg2ggqywf31";
type = "gem";
};
version = "0.0.4";
};
reline = {
dependencies = [ "io-console" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0gaq2lc463ap1srz7y5kh2p4dxazs7vjrpiby58d9yfvan72s0av";
type = "gem";
};
version = "0.7.0";
};
rexml = {
groups = [ "default" ];
platforms = [ ];
@@ -201,6 +253,17 @@
};
version = "3.1.7";
};
syslog = {
dependencies = [ "logger" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0wklh86rhpiff34ja0hda5pwdfywybjvb50hqhz90wpyhblqmhy4";
type = "gem";
};
version = "0.4.0";
};
winrm = {
dependencies = [
"builder"

View File

@@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
makeWrapper,
versionCheckHook,
bundlerEnv,
bundlerUpdateScript,
writeText,
@@ -65,6 +66,9 @@ stdenv.mkDerivation (finalAttrs: {
passthru.updateScript = bundlerUpdateScript "evil-winrm";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
description = "WinRM shell for hacking/pentesting";
mainProgram = "evil-winrm";