I am having trouble getting the output from a hping3 command to the stdout. Here is what I have (a simplified version of the program I'm trying to write).
Code:
#!/usr/bin/perl -w
`hping3 -p 80 -S google.com`;
The program just hangs, outputting nothing to the screen. When I kill the command w/ ctrl + c I see the end of the command as if it were run on the console and not in a script. I tried it in a bash script too and it still just hangs.