hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Buluemoon
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?

Blackknight
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
fry
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. tongue.gif
DumpZ
QUOTE (fry @ Mar 15 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. tongue.gif

Just use sockscap for SQLEXEC. That's how i always use it.
macman
A linux equaivalent of this is proxychains
Can be used to "proxify" most programs. quite good IMHO
bah
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
Blackknight
lol i take it your friend can't code..
its quite simple smile.gif
Buluemoon
@ 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.
bah
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

DumpZ
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
FakoLy
QUOTE (Blackknight @ Mar 15 2004, 12:11 AM)
Will code if there are enough requests else.. waste of my time

Well then I add a Request ^^ smile.gif
Such a little program is really usefull would be really nice if you could code this !!
Regards
Buluemoon
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.
Buluemoon
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.
macman
"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" smile.gif
What about pointing directly to dameware.exe with the reuired arguments, bypassing the command prompt?!
Buluemoon
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.
macman
How about point sockscap to a batchfile?
zombie
yes, would be great with such a tool.
well there was one tool that worked for me: E-Boarder Driver.

you add all .exe files you want to connect through SOCKS, and most importanty commandline programs too.
like the program detected when one of the files was in use/opened and automaticly connected through the SOCKS, so no need to open a program through the Socks app (like with SockCap ect..)
AND IT REALLY WORKED!!!!

but only for a limited time (trial-version). once i restarted computer it would stop working, and it doesnt seem like they support the product anymore.
should have bought the full-version at the time.

so if any one can make a program like this, great!!! cool.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.