File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -666,11 +666,12 @@ async function userland() {
666666
667667 // Logging, dumping + RPC settings
668668 let ENABLE_NET_LOGS = 0 ;
669+ let ELF_LOADER_PORT = 9020 ;
669670
670671 let NET_ADDR = aton ( "10.0.0.193" ) ;
671672 let LOG_NET_PORT = htons ( 5655 ) ;
672673 let DUMP_NET_PORT = htons ( 5656 ) ;
673- let ELF_LOADER_NET_PORT = htons ( 9020 ) ;
674+ let ELF_LOADER_NET_PORT = htons ( ELF_LOADER_PORT ) ;
674675
675676 // Offsets (default 4.03)
676677 let OFFSET_KERNEL_pktopts_pktinfo_offset = 0x10 ;
@@ -1638,7 +1639,7 @@ async function userland() {
16381639 await chain . run ( ) ;
16391640
16401641 await log ( "[+] Patched creds, checking uid = 0x" + p . read4 ( scratch_store ) . toString ( 16 ) ) ;
1641- await log ( "[+] Launching ELF loader (port " + ELF_LOADER_NET_PORT . toString ( 16 ) + ")" ) ;
1642+ await log ( "[+] Launching ELF loader (port : " + ELF_LOADER_PORT . toString ( 10 ) + ")" ) ;
16421643
16431644 ///////////////////////////////////////////////////////////////////////
16441645 // Stage 6: ELF loader
You can’t perform that action at this time.
0 commit comments