need tcl script

Any other programming language that is not covered in the Web Scripting category.

need tcl script

Postby eMKy on Sun Aug 13, 2006 12:55 pm

Ok i need a tcl script that is logging prv msg to the bot starting with word that i define...
[example] /msg botname store my acces for www.blabla.com is user: **** pass: **** [/example] and the bot have to store this and generate a .html file and that file have to be protected with user: and pass: Cool
this way i can store all my access to difirent web sites and with just opening the .html i can see all my usernames and passwords .
If someone can help ... Smile
Image
Image
eMKy
Regular
Regular
 
Posts: 89
Joined: Mon May 08, 2006 7:26 am
Location: Bulgaria

Postby d0ppel-D on Sun Aug 13, 2006 3:51 pm

i dont really know what you want to do with the script ... maybe you could explain it a little bit more?

greetz d0ppel-D
YOU ARE THE SHOGUN CUT THEM INTO PIECES
d0ppel-D
Contributer
Contributer
 
Posts: 31
Joined: Sat Jul 15, 2006 1:51 pm
Location: Germany

Postby eMKy on Sun Aug 13, 2006 4:25 pm

Ok i wont to:
1.have command like "store"
example: /msg botname store my access for drandran.com is user:*** pass:**** i allready explain that....
and the bot have to log everything after store and generate a logs.html for example Web and when i open the logs.html i have to see all my access for difirent web sites...
2.the bot have to update the db for every 30 min for example and notice me for that like /notice eMKy db updated...
3.the file logs.html have to be acessible only for me locked whit password and username .

thats all... Smile
Image
Image
eMKy
Regular
Regular
 
Posts: 89
Joined: Mon May 08, 2006 7:26 am
Location: Bulgaria

Postby Rommaster on Tue Aug 15, 2006 5:54 pm

There are a few good db scripts on http://www.egghelp.org
SwiftIRC - irc.swiftirc.net - #phoenix
Phoenix-Network

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
Rommaster
Phoenix Veteran
Phoenix Veteran
 
Posts: 960
Joined: Thu Mar 10, 2005 1:05 pm
Location: The Netherlands

Postby eMKy on Wed Aug 16, 2006 7:59 am

Rommaster ahm i know that site but cant find nothing.
Im searching for this script for about 3 month but ...
tryed everything google and all type of "egg help" sites
i have go to one irc network in "developers" channel like they say, but still nothing or they cant help me or they dont want to and thats why i make a topic here.

Im going to post here every interesting tcl script that i find so:
http://pisg.sourceforge.net/ - Very good looking IRC statistic HTML
example: HERE (you cant see the graphics becouse is missing libpng-1.2.*)

http://www.egginfo.org/?page=botstats - Statistic for Botnets HTML
Image
Image
eMKy
Regular
Regular
 
Posts: 89
Joined: Mon May 08, 2006 7:26 am
Location: Bulgaria

Postby Rommaster on Wed Aug 16, 2006 8:43 pm

If you really really want it, you should learn TCL and just write it yourself. That's what most people do when they don't find the script that suits their needs.
SwiftIRC - irc.swiftirc.net - #phoenix
Phoenix-Network

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
Rommaster
Phoenix Veteran
Phoenix Veteran
 
Posts: 960
Joined: Thu Mar 10, 2005 1:05 pm
Location: The Netherlands

Postby eMKy on Sat Aug 19, 2006 10:20 am

ahm Rommaster your right but if still someone want to help ...
and about
eMKy
PostPosted: Wed Aug 16, 2006 7:59 am
http://pisg.sourceforge.net/ - Very good looking IRC statistic HTML
example: HERE (you cant see the graphics becouse is missing libpng-1.2.*)

can we have libpng on phoenix ?
Image
Image
eMKy
Regular
Regular
 
Posts: 89
Joined: Mon May 08, 2006 7:26 am
Location: Bulgaria

Postby De Kus on Sun Sep 03, 2006 9:13 am

Code: Select all
StarZ|De_Kus eMKy: okay, you are asking for a script, which adds lines you send into a file in ~/public_html which is protected with a password on .htaccess base?
--- You are no longer marked as being away
eMKy StarZ|De_Kus yes ...
eMKy sec.. work..
StarZ|De_Kus are you looking for help to write it yourself or for someone who writes it for you?
eMKy "someone who writes it for you?"
eMKy :)
SilentGuy good morning!
edsfunsite morning
eMKy i cant realy ill need sql db, php or i dont know ...
StarZ|De_Kus why would you need such a thing?
StarZ|De_Kus you have 2 technical alternitives: you directly add using some kind of XML parsing, or you store the data lines into a seperate file and generated the HTML each time from scratch using a template
StarZ|De_Kus (no, I havent used the tDOM TCL package yet)
eMKy it wil be nice to have command like /msg botname store ....
eMKy i can store all my access to difirent sites ...
StarZ|De_Kus that one is the less problematic one
eMKy the problematic one is to make the bot ganarate .html file
StarZ|De_Kus if you are better in PHP than TCL, then you could also write a php file generating a HTML site based on a text file. adding lines to a text file is very very easy, and to remove you can still edit the file by hand :D
eMKy the password protection is easy
eMKy .htaccess
eMKy .. .
eMKy mhm but...
StarZ|De_Kus where is the problem about it? 'puts $file "...header..."' 'puts $file "<p>$line</p>"' and 'puts $file "...footer..."'
StarZ|De_Kus or better 'foreach line $lines {puts $file "<p>$line</p>"}'
StarZ|De_Kus if you read up some scanf, you could even save website, username and password seperately and put them into a table
StarZ|De_Kus that would be than like: 'foreach {web un pw} $data {puts $file "<tr><td>$web</td><td>$un</td><td>$pw</td></tr>"}'
StarZ|De_Kus *then
StarZ|De_Kus advantage would be obvious: no matter how big an entry is, they will be nicely put in columns
StarZ|De_Kus you could of course also use <div> elements and do a list for each one and seperate lines with <br>
StarZ|De_Kus that would be like 'puts $file "<div width=\"33%\">\n[join $websites "<br>\n"]\n</div>"'
Image
User avatar
De Kus
Phoenix Veteran
Phoenix Veteran
 
Posts: 305
Joined: Mon Mar 14, 2005 2:15 pm
Location: Germany

Postby eMKy on Mon Sep 11, 2006 9:22 pm

finaly i found something its a tcl and ganarates a .php file with the logs but i cant test it yet becouse there is no mysqltcl here but soon will be.. thanks to krod. Im sorry Rommaster, next time ill search more and than ill ask here. De Kus i did not understand realy your point... but thank you !

And here is the script: http://www.egghelp.org/cgi-bin/tcl_arch ... oad&id=874
Image
Image
eMKy
Regular
Regular
 
Posts: 89
Joined: Mon May 08, 2006 7:26 am
Location: Bulgaria

ouch

Postby bondreal on Wed Sep 13, 2006 12:23 am

TCL makes my face hurt
bondreal
Newbie
Newbie
 
Posts: 14
Joined: Tue Sep 12, 2006 11:49 pm


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron