Usage details #1
Comments
Hey @wr47h -- Great question. The README is currently just in a placeholder state right now. I'll be working on refining it along the lines of my other project, so I apologise for that. To answer your question, if you take a look at the code here: Lines 56 to 62 in 84797a0 You will notice that the Ethernet header has its source and destination MAC addresses hardcoded. I should instead pull these details from the network interface however for the time being you would need to do it yourself. The source MAC address is simply your local NIC card which can be pulled like so:
Whereas the Target MAC address would depend on the following:
When that is done, you can run
If you don't know your network interface beforehand, you can run the command once with a dummy value like I did above, and see what the console prints out thanks to: Line 106 in 84797a0 OR you can use tools like WireShark in order to see what interfaces it can pull. Caveats
I hope this helps. |
This should now be resolved as of: You should be able to simply send a SYN packet by running:
I'll be implement packet count to adjust how many packets to send and will polish the README. Closing issue; if you have any further questions feel free to re-open. :-) |
Right, now I understand. Thank you for the explanation. |
Not exactly an issue, but how to do what you have mentioned in the 1st line of README?
If you want to get this to work, you need to configure the Ethernet dst and src to point to your interface's MAC address and the target interface MAC address.
The text was updated successfully, but these errors were encountered: