Flag system to uac bypass

28 views Asked by At

I'm creating a system whose I'm going to have to run the program so that if it doesn't have a flag it will start itself, and it's kind of strange

try:
    flag = sys.argv[1:][0]
    utils.reverse_shell('msg * flag :) ')
except IndexError:
    utils.reverse_shell('msg * no flag ')
    utils.reverse_shell(f'Start-Process -FilePath "{acess.GetSelf()[0]}" --midia -WindowStyle Hidden')  
    utils.reverse_shell('msg * runnned ')
0

There are 0 answers