Sign in to follow this  
Followers 0
kid1232

Problem with Bitvise SSH client and request with proxy/Socks

14 posts in this topic

Hi.

At first, im so sorry about my stupid English

Then. Im creating a small tool and i have some troubles. Im tried to search google for 2 hours but i cant find anything helpful

So. I think finally i have to say help with autoitscript forum's member

1. I finding some method what i can use to connect to a web or get source using socks 4/5. Im tried winhttp but it only support Http proxy

2. I finding too how to use http proxy from Bitvise SSH Client. I see it called Socks / HTTP proxy forwarding but i cant use http proxy???

post-81501-0-70179700-1421220809_thumb.p

Thanks for reading and i hope you can help me

Share this post


Link to post
Share on other sites



bump plz

Share this post


Link to post
Share on other sites

some one can help me?

Share this post


Link to post
Share on other sites

hi all

its very important for me

Share this post


Link to post
Share on other sites

Are you trying to automate something with AutoIt? As from your post, I think people will be confused as to what you are trying to do


All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post


Link to post
Share on other sites

Hi.

I just want to create a tool to manager and connect SSH for make proxy/socks5. Simply for change IP. My idea just want to check internet of SSH

Can you understand?

Share this post


Link to post
Share on other sites

please, some one can help me?

Share this post


Link to post
Share on other sites

hello?????????????

Share this post


Link to post
Share on other sites

@JohnOne: Thanks man

Here is my problem

- How i can connect to a website with socks 5 use autoit. I tried winhttp but cant.

Thanks

Share this post


Link to post
Share on other sites

Tried 

$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
$oHTTP.SetProxy(2, "127.0.0.1:1080")

and here (http://msdn.microsoft.com/en-us/library/windows/desktop/aa384059(v=vs.85).aspx) tell me that cant use socks5

HTTPREQUEST_PROXYSETTING_DEFAULT = 0;
HTTPREQUEST_PROXYSETTING_PRECONFIG = 0;
HTTPREQUEST_PROXYSETTING_DIRECT = 1;
HTTPREQUEST_PROXYSETTING_PROXY = 2;

just HTTP proxy is ok

Share this post


Link to post
Share on other sites

Here is my full example

$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
$oHTTP.SetProxy(2, "127.0.0.1:1080")
$oHTTP.Open("GET", "http://whoer.net/", False)
$oHTTP.Send()
$oReceived = $oHTTP.ResponseText
$oStatusCode = $oHTTP.Status
If $oStatusCode == 200 Then
    ClipPut($oReceived)
EndIf

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