This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

editing user files directly

Old posts that have not been replied to for several years.
Locked
M
Malcolm

editing user files directly

Post by Malcolm »

Hello :)

This is my first post here. I've searched through the forum looking for information on User Files. from this example:

{User Name} - hp
! #{Channel} 1034614105 ov
--HOSTS {name}*@*{host}
--LASTON 1034614105 #{Channel}
--PASS {password}
--XTRA created 1034402482

I wish to know what the long numbers represent. I'm sure its some sort of date format but I have no idea how to edit it. The main purpose I want to edit the users files is because I am creating a user file editor for people on my botnet.

If any one knows how to convert the long numbers into a readable dates, or if I'm wrong, i'd love for you to tell me. :D

Thanks very much,
Malcolm
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

These dates are the last time the handle was seen (IE, a userhost matches them).

It's in a standard seconds format.

A userfile editor is pretty much usless, unless you have a method to re-read the file after you have edited.

You can simple use a tiemr for this, however, the partyline can no longer be used to change records, as they would be lost once the bot refreshes from the file.
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Something you may want to think about is making your editor interface directly with eggdrop instead of operating on the file. That way, changes take effect immediately, you're never out of sync, and you can't ruin the userfile by making an error.

I made something like that once. It let you access users, channels, general config stuff, all via a web browser. The script simulated a web server.

Anyway, good luck, and to answer your question more specifically, the big number is "unix time format"... the number of seconds since 12:00am January 1, 1970 (or something like that). Most languages have a function to convert unix time to normal time.
M
Malcolm

Post by Malcolm »

Awsome, thanks alot for the help :)
Locked