Hello guys.
Yesterday I made an application that resolves any skype user ip.
How to make it?
First of all, we need to host the api.php file that I've already prepared it for you:
Code:
<?php
/* Skype Resolver API
   by Raydenman from mpgh.net */
$nome = $_GET['nome'];
$nomesistemato = strtolower($nome);
$protezione = "SResolver";

function protezione($browser) {
$useragent = $_SERVER['HTTP_USER_AGENT'];
return strstr($useragent,$browser);
}

if(protezione($protezione) != FALSE) {
if($nomesistemato=="prova"||$nomesistemato=="test")
{
echo 0;
} elseif ($nome=="") {
echo 1;
} else {
$miaapi = file_get_contents("http://yourapi.com/?variable={$nome}");
echo $miaapi;
}
}
else {echo(2);}
?>
After you hosted it, we must open our VB.NET IDE (example: Microsoft Visual Basic 2010/Visual Studio 2012 etc.)
Make a new project. Now add two controls: a button and a textbox.
So... Button1 = Resolve | TextBox1 = Skype Username.
We must now put the code.
Add these namespaces:
Code:
Imports System.Net
Imports System****
Imports System.Threading
System(dot)IO

Add a new routine:
Code:
    Sub risolviIp()
        Dim richiesta As HttpWebRequest
        Dim risposta As WebResponse
        Try
            richiesta = HttpWebRequest.Create("http://localhost/a/api.php?nome=" & txtResolve.Text)
            richiesta.UserAgent = "SResolver"
            risposta = richiesta.GetResponse
            Dim sr As New StreamReader(risposta.GetResponseStream())
            Dim api As String = sr.ReadToEnd
            Select Case api
                Case 0
                    MsgBox("L'utente è protetto! Non puoi risolvere questo IP!", MsgBoxStyle.Exclamation, "Errore")
                Case 1
                    MsgBox("Input vuoto! Per favore, inserisci un nome valido!", MsgBoxStyle.Critical, "Errore")
                Case 2
                    MsgBox("User-Agent non valido!", MsgBoxStyle.Critical, "Errore")
                Case Else
                    MsgBox("IP trovato: " & api, MsgBoxStyle.Information, "Information")
            End Select
        Catch
            MsgBox("Impossibile collegarsi all'API", MsgBoxStyle.Critical, "Errore")
        End Try
        Thread.Sleep(100)
    End Sub
(You should translate it, because it's in italian language)

On the Button1 click event put this:
Code:
        Dim T As New Thread(AddressOf risolviIp)
        T.Start()
Let's go now on the file api.php. After it is opened, we must edit something:
Code:
$protezione = "SResolver";
You must edit 'SResolver' with something else. It's important for its protection.
Example edit: SResolver>myusragent123

Now edit:
Code:
$miaapi = file_get_contents("http://yourapi.com/?variable={$nome}");
"http://yourapi.com/?variable=" with your API.

Save the file, and go back to the IDE.

Let's edit:
Code:
richiesta = HttpWebRequest.Create("http://localhost/a/api.php?nome=" & txtResolve.Text)
just change "http://localhost/a/api.php?nome=" with your

And this:
Code:
richiesta.UserAgent = "SResolver"
with your UserAgent. On the php file we putted "myusragent123" in this case, so I must write "richiesta.UserAgent = "myusragent123""

If you want you could also block the skype resolver when they try to resolve your skype name and your friend name for example.
How to do this?
Go back to the file "api.php" and edit:
Code:
if($nomesistemato=="prova"||$nomesistemato=="test")
edit "prova" with your name to block it from skype resolving, the same thing for "test". To block more skype username from your skype resolver, you must just do something like this:
Code:
$nomesistemato=="prova"||$nomesistemato=="test"||$nomesistemato=="this is another username"
Warning..: add all these username in lower case, example, the name is: "Test123", so you must only change it to "test123".
Finished.

Screenshot: http://gyazo.com/54fa97fc1b5176383c1084f7f32488ae