Jump to content

How To Use Private/Secure Proxies


Au Farmer

Recommended Posts

How to Use Private/Secure Proxies

-----------------------------------------------------------

***There is a possibility that this does not utilize the proxy you put in credentials for.  Please see mod Mikasa's post for more info

I and a lot of people from what I've seen have been having difficulties running private/secure proxies with osbot.  One of the few guides on here only shows how to use public proxies.  Its actually very simple to get that code to work with private/secure proxies as well.

 

This is the code and just replace the variables (IP,PORT,USER,PASSWORD) with your proxy IP, port, the username provided by the seller, and the password provided by the seller.

 

Open up notepad and be sure to save the code under all types, instead of text document.  Then save it as "anything.bat", it can be called whatever as long as you have it as .bat

 

Place this .bat into a folder along with the osbot client and rename the client to "osbot"

 

To run the client through the proxy just use the .bat file

 

If you want to run multiple proxies repeat this process but with separate folders, and each bot will have to be run in its own client.

 

Simplified steps will be below the code 

@echo off
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Dsocks.proxyHost=IP -Dsocks.proxyPort=PORT -Dhttp.proxyUser=USER -Dhttp.proxyPass=PASSWORD -jar -Xmx256m osbot.jar
pause

SIMPLIFIED 

-----------------------------

1.  Create a folder

2.  Create a text document in the folder

3.  Put the above code in the text document 

4.  Put in your proxy info

5.  Save it as all types and as a .bat file

6.  Put the osbot client into the folder

7.  Rename the osbot client to "osbot"

8.  Use the .bat file to run the client through the proxy

-----------------------------

KNOWN ISSUES

-----------------------------

1. When renaming the client to "osbot" and that does not work, try renaming it to "osbot.jar" as some computers recognize the extensions by default and others do not.

-----------------------------

 

 

This is my first ever guide of any sort, let me know if you have any problems following it and I will make changes accordingly and will update the known issues list as people report problems/fixes for those problems.

 

I did not create the code on my own, it was taken from the help of smoke420 and some other users, I only compiled it into a guide for everyone to see and use.

 

Happy botting smile.png

Edited by Au Farmer
  • Like 1
Link to comment
Share on other sites

This doesn't work properly.

Even if you put in the wrong IP / password / username, it'll still connect, so I'm assuming you're just connecting from your main IP regardless.

Evidence (turned echo on to show it):

 

I literally copy / pasted your code, changed the path to my Java, and then ran it, and it connected without any issues.

 

IHO70yV.png

 

With normal proxies that don't require you to use a username / password, if you input the wrong info, it'll say offline for your client.

Link to comment
Share on other sites

This doesn't work properly.

Even if you put in the wrong IP / password / username, it'll still connect, so I'm assuming you're just connecting from your main IP regardless.

Evidence (turned echo on to show it):

 

I literally copy / pasted your code, changed the path to my Java, and then ran it, and it connected without any issues.

 

IHO70yV.png

 

With normal proxies that don't require you to use a username / password, if you input the wrong info, it'll say offline for your client.

Thank you for pointing this out, I am by no means a java expert and have no knowledge on how to fix this.  I'll look into it and see what I can do, I was just so excited that the client would finally load I didn't take the time to confirm it was working.

Link to comment
Share on other sites

Thank you for pointing this out, I am by no means a java expert and have no knowledge on how to fix this.  I'll look into it and see what I can do, I was just so excited that the client would finally load I didn't take the time to confirm it was working.

 

Yeah, I suggested to a dev to add a function that at least tells us what IP our client is connected through so we can for sure check & see if the proxies connect successfully, since they haven't added the proxy function yet.

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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