Jump to content

TCP connect with direct URL


Recommended Posts

HI, i would like to be able to connect to a server directly using the domain name i.e.

http://something.google.com:PORT

at the moment i am resoloving google.com to ip and then connecting however this method does not work with subdomains, such as http://something.google.com:PORT

I would like to be able to connect directly by domain name. :lmao:

Link to comment
Share on other sites

This script is typed directly into the browser, but you could test something like this :

$sAddr = http://something.google.com:PORT"

$aAddr = StringSplit($sAddr, ":")
If $aAddr[0] <> 2 Then Exit

TCPStartup()
TCPConnect(TCPNameToIP($aAddr[1]), $aAddr[2])
Link to comment
Share on other sites

This script is typed directly into the browser, but you could test something like this :

$sAddr = http://something.google.com:PORT"

$aAddr = StringSplit($sAddr, ":")
If $aAddr[0] <> 2 Then Exit

TCPStartup()
TCPConnect(TCPNameToIP($aAddr[1]), $aAddr[2])
Error in the example there. It should read:

$sAddr = "http://something.google.com:PORT"

Not

$sAddr = http://something.google.com:PORT"

[quote] Gilbertson's Law: Nothing is foolproof to a sufficiently talented fool.Sandro Alvares: Flaxcrack is please not noob! i can report you is stop stupid. The Post[/quote]I made this: FWD & MD5PWD()

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...