Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@kali:~/proton# ifconfig
- eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
- ether e0:cb:4e:00:82:13 txqueuelen 1000 (Ethernet)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 0 bytes 0 (0.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
- inet 127.0.0.1 netmask 255.0.0.0
- inet6 ::1 prefixlen 128 scopeid 0x10<host>
- loop txqueuelen 1 (Local Loopback)
- RX packets 31 bytes 1653 (1.6 KiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 31 bytes 1653 (1.6 KiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 192.168.1.53 netmask 255.255.255.0 broadcast 192.168.1.255
- inet6 fe80::225:d3ff:fed2:d81e prefixlen 64 scopeid 0x20<link>
- ether 00:25:d3:d2:d8:1e txqueuelen 1000 (Ethernet)
- RX packets 645868 bytes 915640050 (873.2 MiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 353200 bytes 33688590 (32.1 MiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- ssh [email protected] -vvv
- OpenSSH_7.2p2 Debian-4, OpenSSL 1.0.2g 1 Mar 2016
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 19: Applying options for *
- debug2: resolving "192.168.1.30" port 22
- debug2: ssh_connect_direct: needpriv 0
- debug1: Connecting to 192.168.1.30 [192.168.1.30] port 22.
- debug1: Connection established.
- debug1: permanently_set_uid: 0/0
- debug1: identity file /root/.ssh/id_rsa type 1
- debug1: key_load_public: No such file or directory
- debug1: identity file /root/.ssh/id_rsa-cert type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /root/.ssh/id_dsa type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /root/.ssh/id_dsa-cert type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /root/.ssh/id_ecdsa type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /root/.ssh/id_ecdsa-cert type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /root/.ssh/id_ed25519 type -1
- debug1: key_load_public: No such file or directory
- debug1: identity file /root/.ssh/id_ed25519-cert type -1
- debug1: Enabling compatibility mode for protocol 2.0
- debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Debian-4
- ^C #connectiong to openVPN through an external network now
- root@kali:~/proton# ifconfig
- eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
- ether e0:cb:4e:00:82:13 txqueuelen 1000 (Ethernet)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 0 bytes 0 (0.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
- inet 127.0.0.1 netmask 255.0.0.0
- inet6 ::1 prefixlen 128 scopeid 0x10<host>
- loop txqueuelen 1 (Local Loopback)
- RX packets 28 bytes 1506 (1.4 KiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 28 bytes 1506 (1.4 KiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
- inet 10.8.0.6 netmask 255.255.255.255 destination 10.8.0.5
- unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC)
- RX packets 300 bytes 232067 (226.6 KiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 386 bytes 74567 (72.8 KiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 192.168.43.46 netmask 255.255.255.0 broadcast 192.168.43.255
- inet6 fe80::a61f:a914:5e49:9ebd prefixlen 64 scopeid 0x20<link>
- ether 00:25:d3:d2:d8:1e txqueuelen 1000 (Ethernet)
- RX packets 645083 bytes 915428805 (873.0 MiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 352893 bytes 33618997 (32.0 MiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- root@kali:~/proton# ssh [email protected]
- The authenticity of host '192.168.1.30 (192.168.1.30)' can't be established.
- RSA key fingerprint is SHA256:OUbrgAfMaUEeLwriDyrQaQSCeaFMy9VPw9O+5DaEkJw.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '192.168.1.30' (RSA) to the list of known hosts.
- [email protected]'s password:
- [cantolin@proliant ~]$ whoami
- cantolin
- [cantolin@proliant ~]$ ifconfig
- eno1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
- ether 1c:98:ec:0f:47:00 txqueuelen 1000 (Ethernet)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 0 bytes 0 (0.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- device interrupt 16
- eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 192.168.1.30 netmask 255.255.255.0 broadcast 192.168.1.255
- inet6 fe80::1e98:ecff:fe0f:4701 prefixlen 64 scopeid 0x20<link>
- ether 1c:98:ec:0f:47:01 txqueuelen 1000 (Ethernet)
- RX packets 24803401 bytes 21003500457 (19.5 GiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 25185959 bytes 28741042352 (26.7 GiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- device interrupt 17
- lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
- inet 127.0.0.1 netmask 255.0.0.0
- inet6 ::1 prefixlen 128 scopeid 0x10<host>
- loop txqueuelen 1 (Local Loopback)
- RX packets 2865142 bytes 58469511528 (54.4 GiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 2865142 bytes 58469511528 (54.4 GiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
- inet 10.8.0.1 netmask 255.255.255.255 destination 10.8.0.2
- unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC)
- RX packets 32221 bytes 1963511 (1.8 MiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 58868 bytes 79091841 (75.4 MiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
- inet 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255
- ether 52:54:00:c1:cd:18 txqueuelen 1000 (Ethernet)
- RX packets 0 bytes 0 (0.0 B)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 0 bytes 0 (0.0 B)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- [cantolin@proliant ~]$ exit
- logout
- Connection to 192.168.1.30 closed.
- #connecting from my wifi
- root@kali:~/proton# ssh cantolin@<redacted public ip> -p 2222
- The authenticity of host '[<redacted public ip>]:2222 ([<redacted public ip>]:2222)' can't be established.
- RSA key fingerprint is SHA256:OUbrgAfMaUEeLwriDyrQaQSCeaFMy9VPw9O+5DaEkJw.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added '[<redacted public ip>]:2222' (RSA) to the list of known hosts.
- cantolin@<redacted public ip>'s password:
- [cantolin@proliant ~]$ exit
- logout
- Connection to <redacted public ip> closed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement