https://github.com/dewebdes/xhack
C UNIX HACK
https://github.com/dewebdes/xhack
Last synced: 8 months ago
JSON representation
C UNIX HACK
- Host: GitHub
- URL: https://github.com/dewebdes/xhack
- Owner: dewebdes
- Created: 2019-09-22T12:21:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-24T22:49:58.000Z (over 6 years ago)
- Last Synced: 2025-02-08T12:46:12.783Z (over 1 year ago)
- Language: C
- Size: 228 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Simulate hping:
gcc flood.c -o flood
sudo ./flood
Check flood response:
gcc tracer.c -o tracer
sudo ./tracer
----------------------------------
Simulate tcpdump:
gcc StackSniffed.c -o snif
sudo ./snif
----------------------------------
Send RAW Packet:
Change the destination MAC address (e.g. 00:11:22:33:44:55) and compile:
gcc init.c -o init
In one terminal run tcpdump to observe the packets:
sudo tcpdump -nettti eth0 '(ether dst host 00:11:22:33:44:55)'
And in another run the program as root:
sudo ./init eth0
Pure & Free Development Full Documents:
https://www.linkedin.com/posts/kaveh-eyni-08060b59_unix-c-developers-activity-6581503181371637760-LexV