mIRC Home    About    Download    Register    News    Help

Print Thread
#75509 16/03/04 08:04 PM
Joined: Oct 2003
Posts: 143
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Oct 2003
Posts: 143
is there any way to make a search add-on where it will search for like "ctcp 1:*:?:$1-" in Remotes and variables and then display them in a window telling you what file there in and what line there on? Im trying to make some kinda of thing liek that to search for basic IRC hacks can someone point me in the right dir thanks.

#75510 16/03/04 08:07 PM
Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
You can loop through $script(N) and do a /filter on each file, but imho it's just a waste of time because these backdoors can take many forms which you can't detect unless you read every line of the remote. I would simply recommend downloading scripts only from trusted websites like www.mircscripts.org

#75511 16/03/04 08:10 PM
Joined: Oct 2003
Posts: 143
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Oct 2003
Posts: 143
thanks I get what your saying but I just want to make a basic type of search for this stuff so then i can alwase go back and look around.

O and can you show me a short little blerb on how i would do that?

Last edited by DeathfireD; 16/03/04 08:11 PM.
#75512 21/03/04 03:22 AM
Joined: Oct 2003
Posts: 143
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Oct 2003
Posts: 143
hmmm ok I worked on a dialog and this is about all i got so far how would i use filter to search all the remotes someone would have for names of strings from a text file.

Code:
dialog TrojascanD { 
  title "mIRC Remote Trojan Scan - By DeathfireD" 
  size -1 -1 224 170 
  option dbu 
  edit "", 1, 80 2 142 166, autohs autovs 
  button "Open Trojan list", 2, 4 10 68 8 
  box "Options", 3, 1 0 77 168 
  button "Open Last Scan", 4, 4 20 68 8 
  button "Exit", 5, 4 154 34 9, ok 
  button "Site", 6, 40 154 34 9 
  button "Script info", 7, 4 143 69 8 
  button "Scan Remotes", 8, 4 41 68 37 
} 
alias TrojascanD { dialog -md TrojascanD TrojascanD } 

on *:dialog:TrojascanD:sclick:*:{ 
  if $did == 2 { /run notepad.exe trojan.txt } 
  if $did == 4 { /run notepad.exe trojan.txt } 
  if $did == 6 { run http://www.o-cmembers.cjb.net } 
  if $did == 8 { /filter put something in later. } 
} 
on *:dialog:TrojascanD:edit:*:{ 
  if $did == 1 {  } 
} 
on *:dialog:TrojascanD:init:0:{ did -a TrojascanD 1 I dont know yet } 
} 
on 1:LOAD:/echo 12mIRC Remote Trojan scanner V1.0 Script By DeathfireD Loaded! | write -c Trojans.txt 
on 1:UNLOAD:/echo 4mIRC Remote Trojan scanner V1.0 Script By DeathfireD Unloaded! 
} 
  


ok a better basic idea of what im trying to do.

1.) have a text file with basic IRC trojans or socket trojans (aka. ctcp 1:*:*:$1-)

2.) Have the dialog I just made search all the remotes one would have loaded for all the strings i listed in the text doc.

3.) then have the remote that has it show up in the edit box with the name and line that it is on.

If someone can help me I would really be thankfull and I would add you to the special thanks when the add-on is done. thanks

#75513 22/03/04 03:47 PM
Joined: Oct 2003
Posts: 143
D
Vogon poet
OP Offline
Vogon poet
D
Joined: Oct 2003
Posts: 143
ok thanks Online I got your PM. This topic is now done please dont send me any messages.


Link Copied to Clipboard