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.
Old posts that have not been replied to for several years.
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Mon Nov 22, 2004 6:11 pm
Code: Select all
set emailtosendtoo "metroidz@gmail.com"
set sendmailprogram "/usr/sbin/sendmail"
bind msg m sendmail sendanemail
proc sendanemail { nick uhost hand arguments } {
global emailtosendtoo sendmailprogram
set mailme [open "|$sendmailprogram -t" w]
puts $mailme "To: $emailtosendtoo"
puts $mailme "From: $::botnick\@Quakenet"
puts $mailme "Subject: blah test."
puts $mailme "Test test test.\n"
puts $mailme "blahblah blah."
puts $mailme "cows go m00"
puts $mailme "Hi, how are you?"
close $mailme
putlog "Moo!"
}
This should work shouldnt it? Yet when i try it, i get no email
Last edited by
metroid on Tue Nov 23, 2004 10:02 am, edited 1 time in total.
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Mon Nov 22, 2004 6:28 pm
experiment in your shell first
user
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Mon Nov 22, 2004 7:54 pm
...and read your error messages. (the one about the missing variable)
Have you ever read "The Manual"?
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Tue Nov 23, 2004 2:32 am
There are no errors, but i just don't recieve the email. As i found sendmail on the shell but apparently i can't get it to work, I've already tested it on my shell
KrzychuG
Master
Posts: 306 Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:
Post
by KrzychuG » Tue Nov 23, 2004 3:01 am
There should be at least 2 errors about missing sendmail program and emailtosendtoo variables in sendemail procedure ;)
Que?
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Tue Nov 23, 2004 10:03 am
Fine edited, I was using different variables when i tested it thats why the global's didnt work
There are no errors when i'm testing it but the emails never arrive, When i close the mailme, does it send or what is it doing then?
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Tue Nov 23, 2004 11:10 am
try to use the standard UNIX mail(1) utility (which is basically sendmail wrapper) to send mail to yourself; if this doesn't work, there is nothing you can do - complain to your admin to fix it
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Wed Nov 24, 2004 5:17 am
I've send an email to my shell admin and ill try to find out how to make it work
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Fri Nov 26, 2004 3:25 am
Well finally, i got it to work, But now, Is there any way i could make an eggdrop decrypt a password and send it in an email?
I'm working a command that works like Q's requestpassword.
/msg <bot> requestpassword <email>
*Bot sends an email with the password in it
But to my knowledge, there is no command that does this? correct?
arcane
Master
Posts: 280 Joined: Thu Jan 30, 2003 9:18 am
Location: Germany
Contact:
Post
by arcane » Fri Nov 26, 2004 6:41 am
MeTroiD wrote: But to my knowledge, there is no command that does this? correct?
you mean decrypting passwords?
if you don't have one-way-encryption or if you want to use brute-force, it is possible
other possibility:
first send the password and
then encrypt it.
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Fri Nov 26, 2004 11:08 am
you can't decrypt eggdrop passwords (we're not talking cracking here), it's a one-way blowfish hash
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Fri Nov 26, 2004 5:18 pm
I heard someone did crack eggdrop passwords though, and he used tcl for it
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Fri Nov 26, 2004 5:38 pm
MeTroiD wrote: I heard someone did crack eggdrop passwords though, and he used tcl for it
the password he cracked must have been "abcd" or similar
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Sun Nov 28, 2004 2:53 pm
No, he could use whatever code he was using to crack any password, as blowfish always gives the same encryption to a password
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Sun Nov 28, 2004 6:15 pm
crack any password?
now that's what they call an urban legend...
I give you my encrypted eggdrop password, you give it to your friend, he cracks it, you break into my bot, I paypal you 1000 dollars. Deal?