C++
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main()
{
system("netsh advfirewall firewall add rule name=\"Open Port 9999\" dir=in action=allow protocol=TCP localport=9999");
return 0;
C
#include <stdio.h>
#include <stdlib.h>
int main()
{
system("netsh advfirewall firewall add rule name=\"Open Port 9999\" dir=in action=allow protocol=TCP localport=9999");
return 0;
}
No comments:
Post a Comment