Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Intoxicated.API.Xbox.IP_Detector
- {
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Net;
- using System.Text;
- using System.Threading.Tasks;
- class Detect
- {
- public static string Check(string ip)
- {
- try
- {
- string email = $"skull{new Random().Next(0,100)}@yahoo.com";
- string link = $"http://check.getipintel.net/check.php?ip={ip}&contact={email}&flags=m";
- string resp = new WebClient { Proxy = null }.DownloadString(link);
- return resp == "0" ? "HOME" : "VPN/PROXY";
- }
- catch (Exception)
- {
- return "N/A";
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement