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
| #refer http://woshub.com/port-forwarding-in-windows/ | |
| #a sample for forwarding RSTP camera device service to local | |
| netsh interface portproxy add v4tov4 listenport=554 connectaddress=192.168.8.106 connectport=554 | |
| netsh interface portproxy add v4tov4 listenport=8080 connectaddress=192.168.8.106 connectport=8080 | |
| #dont forget to add firewall rule, if needs to connect by other device | |
| New-NetFirewallRule -Name rstp -DisplayName 'RSTP' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 554 | |
| New-NetFirewallRule -Name ipc -DisplayName 'IPC' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 8080 |
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
| <?php | |
| /** | |
| * Usage: EncodePass <照片路径> \n | |
| * Good luck | |
| * 低调使用,by pass the imagecheck for shbeian | |
| */ | |
| if ($argc < 2) { | |
| exit("Usage: php EncodePass <PictureFilePath> \n"); | |
| } |
Attention: if you attempt to fork this gist, github will think that you are a spammer and you will have to confirm that you are human with them. Apparantly there are too many links in this list. Also I update it rather frequently (see revisions on the left), so it's probably wise to not fork it anyway.