Jump to content
Sign in to follow this  
sunjester

Getting the NoIP login Token

1 post in this topic

Offline

using System;
using System.IO;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
	class Token
{
        public static void Main()
        {
                WebRequest req = WebRequest.Create("https://www.noip.com/login");
                ((HttpWebRequest)req).UserAgent = "underwurld/101";
	                WebResponse res = req.GetResponse();
	                Stream data = res.GetResponseStream();
                StreamReader rdr = new StreamReader(data);
                string html = rdr.ReadToEnd();
	                res.Close();
	                Regex rptrn = new Regex(@"csrf-token\""\scontent=\""(.+?)\""");
                MatchCollection mc = rptrn.Matches(html);
	                Console.WriteLine(mc[0].Groups[1].Value);
        }
}

Example

(xenial)[email protected]:~/Downloads/$ mono token.exe 
cyotiribeheDaip0HgiTlIbdqiktYnRsBSSMg3uE
(xenial)[email protected]:~/Downloads/$ mono token.exe 
YMDrgPVqPmNUgGvQqyk8nZWp3Zw3u4lON2xDuutM


 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

About us

3rdWorld.cc is a cracking forum community that suits the purpose of everyone. We offer paid program for free, cracking tools, combolists, marketplace and many more. You can also expand on knowledge and participate in active discussions.

×