Want to inspect network activity or endpoints of a closed source binary or script that you don't understand?
-
Want to inspect network activity or endpoints of a closed source binary or script that you don't understand? Try following on Linux:
```
strace -f -e trace=network -o /tmp/network_trace.txt /opt/foo.binstrace -f -e trace=network -o /tmp/network_trace.txt python3 /path/to/bar.py
```
Then you can view all network it made:
```
less /tmp/network_trace.txt
```strace is nifty diagnostic, debugging, and instructional userspace utility for IT, cybersecurity or dev folks. See:
```
man strace
``` -
Want to inspect network activity or endpoints of a closed source binary or script that you don't understand? Try following on Linux:
```
strace -f -e trace=network -o /tmp/network_trace.txt /opt/foo.binstrace -f -e trace=network -o /tmp/network_trace.txt python3 /path/to/bar.py
```
Then you can view all network it made:
```
less /tmp/network_trace.txt
```strace is nifty diagnostic, debugging, and instructional userspace utility for IT, cybersecurity or dev folks. See:
```
man strace
```@nixCraft on of the few programs to debug a running monolithic Perl Monster
-
Want to inspect network activity or endpoints of a closed source binary or script that you don't understand? Try following on Linux:
```
strace -f -e trace=network -o /tmp/network_trace.txt /opt/foo.binstrace -f -e trace=network -o /tmp/network_trace.txt python3 /path/to/bar.py
```
Then you can view all network it made:
```
less /tmp/network_trace.txt
```strace is nifty diagnostic, debugging, and instructional userspace utility for IT, cybersecurity or dev folks. See:
```
man strace
```@nixCraft Ltrace is also good for things using glibc
-
P pelle@veganism.social shared this topic