Jump to content

background script


daedalus

Recommended Posts

Hello. I set up my u3 usb device using TehHacks' method. I set up some of my own payloads, but I am having trouble running them in the background. A cmd windows opens and quickly exits, which takes the stealthyness out of the whole operation.

Is there a good was to run a batch file in the background?

I found a great many tools which start hide a running batch file, but these are command-line tools, which also must pop up a cmd window. I also wrote a nice little vbasic script to run a program without showing anything, but when I tried running it on other computers I needed the microshaft vbasic libraries.

Any ideas?

daedalus

Link to comment
Share on other sites

Guest TehHacks

Cool, someones using my method :P.

I'm not exactly sure how to solve your problem, but check out the "quite riot" payload. I'm pretty sure the CMD window does not pop up with this payload, maybe you could check it out and see how its done there and incorporate it into your own payload.

Hope this helps.

James

Link to comment
Share on other sites

  • 2 months later...
If you are running it from an App, you could try the Hide Method. e.g. In VB6 you could do
Shell "cmd.exe " & App.Path + "run.bat", vbHide

So using this method according to the line of code you would only have to change "run.bat" to say "go.bat" or whatever the .bat filename was?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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