Sign in to follow this  
Followers 0
pingpong24

TCP connect with direct URL

6 posts in this topic

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:

Share this post


Link to post
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])

Share this post


Link to post
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()

Share this post


Link to post
Share on other sites

wtf , how you make a tcp connection with autoIT ?


-jaenster

Share this post


Link to post
Share on other sites

Using the TCP functions.

Share this post


Link to post
Share on other sites

wtf , how you make a tcp connection with autoIT ?

Use BETA of AutoIt :lmao:


My little company: Evotec (PL version: Evotec)

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  
Followers 0