Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TCP/UDP listening socket output #37

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

Hypnoze57
Copy link
Contributor

Actual output for "Listening TCP":

[-] Listening TCP:
Active Internet connections (servers and established)     
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      888/postgres
tcp        0      0 127.0.0.1:5433          0.0.0.0:*               LISTEN      887/postgres
tcp        0      0 192.168.1.x:48342       172.217.23.x:443        ESTABLISHED 2513/firefox-esr
tcp        0      0 192.168.1.x:40822       151.101.1.x:443         ESTABLISHED 2513/firefox-esr

Fix remove established and closed connections using -l (listen) param instead of -a (all).

@guerzon
Copy link

guerzon commented Jul 6, 2019

@rebootuser please merge. Thanks!

@rebootuser
Copy link
Owner

Agreed - much better output

@rebootuser rebootuser merged commit 32d93a4 into rebootuser:master Jul 9, 2019
nestedfunction pushed a commit to nestedfunction/LinEnum that referenced this pull request Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants