This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Deepin | |
| ==> Reinstalling nmap | |
| ==> Downloading https://nmap.org/dist/nmap-7.70.tar.bz2 | |
| Already downloaded: /home/memphiz/.cache/Homebrew/downloads/dd50f23c7ae49ac12f3784652fdca2cb671c3efb8bd9d6164eb8750f54619cbe--nmap-7.70.tar.bz2 | |
| ==> ./configure --prefix=/home/linuxbrew/.linuxbrew/Cellar/nmap/7.70 --with-libpcre=included --with-liblua=included --with-openssl=/home/linuxbrew/.linuxbrew/opt/openssl --without-nmap- | |
| ==> make -j5 | |
| ==> make install | |
| 🍺 /home/linuxbrew/.linuxbrew/Cellar/nmap/7.70: 808 files, 27.7MB, built in 1 minute 54 seconds | |
| memphiz@DeepinVM ~> brew edit nmap | |
| Editing /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/nmap.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| ping_cancelled=false | |
| until ping -c1 "$1" &>/dev/null; do :; done & | |
| trap "kill $!; ping_cancelled=true" SIGINT | |
| wait $! | |
| trap - SIGINT | |
| echo "Done pinging, cancelled=$ping_cancelled" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static void Break(int userID) | |
| { | |
| if (userID == 12345) | |
| { | |
| Debugger.Launch(); | |
| Debugger.Break(); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| while read event target lost ; do | |
| case $event in | |
| NEW ) | |
| ip2int $target intTarget | |
| ((count[intTarget]++)) | |
| ... | |
| esac | |
| done < <(tail -f /path/logfile | sed -une ' | |
| s/^.*New incom.*from ip \([0-9.]\+\) .*$/NEW \1/p; |
OlderNewer