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
| ##### | |
| # You'll be needing two machines, the target machine and source one (makes sense, right)? | |
| ##### | |
| # On the target machine | |
| nc -l 55555 | gzip -d -c | mysql <database name> -u<user> -p<password> [ | <decrypt> ] | |
| ##### | |
| # On the source machine | |
| mysqldump -u<user> -p<password> <database name> | gzip | nc <ip of target server> 55555 [ | <encrypt> ] |
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 python | |
| # | |
| # udp_hole_punch_tester.py - UDP Hole Punching test tool | |
| # | |
| # Usage: udp_hole_punch_tester.py remote_host remote_port | |
| # | |
| # Run this script simultaneously on 2 hosts to test if they can punch | |
| # a UDP hole to each other. | |
| # | |
| # * remote_port should be identical on 2 hosts. |