Scenario is as follows:
In a vulnhub lab, I got limited shell. By means of
attacker> nc -lvp 1234
victim> nc _attacker_ip 1234
I found out that ubuntu's ufw is limiting outgoing traffic.
Since I'm no root, I can't list ufw rules. Is there any software that can detect outgoing rules? I guess it wouldn't be that hard to set a server on the attacker machine to listen in ALL ports, and a client in the victim machine that would "tcp-ping" every port, so it can detect outgoing rules.
Is there any similar software out there? If not, I would maybe roll my own.