Skip to content

Commit ae95bb6

Browse files
committed
Fix build_routing_packet
1 parent b1e304a commit ae95bb6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/exploits/linux/http/empire_skywalker.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,7 @@ def build_routing_packet(staging_key, meta = 0, enc_data = ''.b, session_id = '0
374374
rc4_iv = SecureRandom.random_bytes(4)
375375
key = rc4_iv + staging_key
376376
rc4_enc_data = Rex::Crypto.rc4(key, data)
377-
packet = rc4_iv + rc4_enc_data + enc_data
378-
packet
377+
rc4_iv + rc4_enc_data + enc_data
379378
end
380379

381380
def aes_encrypt_then_hmac(key, data)

0 commit comments

Comments
 (0)