Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Last login: Tue May 10 10:14:40 on console
- MacLab206-03:~ rquaranta$ ssh rquaranta@10.18.1.50
- rquaranta@10.18.1.50's password:
- Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.19.0-58-generic x86_64)
- * Documentation: https://help.ubuntu.com/
- System information as of Tue May 10 10:14:39 EDT 2016
- System load: 0.0 Processes: 130
- Usage of /: 13.9% of 290.12GB Users logged in: 5
- Memory usage: 8% IP address for eth0: 10.18.1.50
- Swap usage: 0%
- Graph this data and manage this system at:
- https://landscape.canonical.com/
- 0 packages can be updated.
- 0 updates are security updates.
- *** System restart required ***
- Last login: Mon May 9 10:41:13 2016 from 10.18.1.76
- rquaranta@pj-linux01:~$ ls
- dev
- rquaranta@pj-linux01:~$ clear
- rquaranta@pj-linux01:~$ cd /var/www/html
- rquaranta@pj-linux01:/var/www/html$ ls
- 4.jpg crovatsos kfrey service
- academiccamps cs kschwind SetupVirtualCloneDrive.exe
- age.c csbad ktang sign
- amahon css linux splokhoy
- amichlin ctf loop.c sportcamps
- ap dtarrats makeweb summer
- aptest1.docx ebooks MarchImport.zip survey
- aptest1.pdf etighe metasploit sweeney
- arrayfun.c example minecraft temp
- baseball foo.html movies tester.txt
- bdauer gleo nhs track
- boat.jpg grade.php nhs-lit track.jpg
- bootstrap hsilvernail php twang
- bwarsh images pjid twolfe
- cakeday index.default.html pjidbeta updater.php
- cal.php index.php polympics video
- camps it pride web
- cena.jpg jbrown putty.exe web.php
- chorus.mp4 jen qa wordpress
- clock jpatel rquaranta yearbook
- clock.php jquery sampsched youtube.php
- comments js sched zelda
- cpp jscott sec.html
- rquaranta@pj-linux01:/var/www/html$ cd rquarnata
- -bash: cd: rquarnata: No such file or directory
- rquaranta@pj-linux01:/var/www/html$ cd rquaranta
- rquaranta@pj-linux01:/var/www/html/rquaranta$ ls
- backups comments html passStore php
- rquaranta@pj-linux01:/var/www/html/rquaranta$ cloear
- No command 'cloear' found, did you mean:
- Command 'clear' from package 'ncurses-bin' (main)
- cloear: command not found
- rquaranta@pj-linux01:/var/www/html/rquaranta$ lc
- The program 'lc' is currently not installed. To run 'lc' please ask your administrator to install the package 'mono-devel'
- rquaranta@pj-linux01:/var/www/html/rquaranta$ ls
- backups comments html passStore php
- rquaranta@pj-linux01:/var/www/html/rquaranta$ clear
- rquaranta@pj-linux01:/var/www/html/rquaranta$ ls
- backups comments html passStore php
- rquaranta@pj-linux01:/var/www/html/rquaranta$ cd passStore
- rquaranta@pj-linux01:/var/www/html/rquaranta/passStore$ ls
- index.php search.php secretpwd.txt
- rquaranta@pj-linux01:/var/www/html/rquaranta/passStore$ vi index.php
- <?php
- ini_set('display_errors','On');
- error_reporting(E_ALL);
- if ($_POST)
- {
- session_start();
- $username = $_POST['username'];
- $password = $_POST['password'];
- $userlist = './secretpwd.txt';
- $redirect = 'http://10.18.1.50/pjid'; // original login page
- $password = sha1($password);
- if (!file_exists($userlist) || !is_readable($userlist))
- {
- $error = 'Login is currently unavailable. Please try again later';
- }
- else
- {
- //read the file into an array called $users
- $users = file($userlist);
- "index.php" 74L, 1615C 1,1 Top
- Last login: Tue May 10 10:14:40 on console
- MacLab206-03:~ rquaranta$ ssh rquaranta@10.18.1.50
- rquaranta@10.18.1.50's password:
- Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.19.0-58-generic x86_64)
- * Documentation: https://help.ubuntu.com/
- System information as of Tue May 10 10:14:39 EDT 2016
- System load: 0.0 Processes: 130
- Usage of /: 13.9% of 290.12GB Users logged in: 5
- Memory usage: 8% IP address for eth0: 10.18.1.50
- Swap usage: 0%
- Graph this data and manage this system at:
- https://landscape.canonical.com/
- 0 packages can be updated.
- 0 updates are security updates.
- *** System restart required ***
- Last login: Mon May 9 10:41:13 2016 from 10.18.1.76
- rquaranta@pj-linux01:~$ ls
- dev
- rquaranta@pj-linux01:~$ clear
- rquaranta@pj-linux01:~$ cd /var/www/html
- rquaranta@pj-linux01:/var/www/html$ ls
- 4.jpg crovatsos kfrey service
- academiccamps cs kschwind SetupVirtualCloneDrive.exe
- age.c csbad ktang sign
- amahon css linux splokhoy
- amichlin ctf loop.c sportcamps
- ap dtarrats makeweb summer
- aptest1.docx ebooks MarchImport.zip survey
- aptest1.pdf etighe metasploit sweeney
- arrayfun.c example minecraft temp
- baseball foo.html movies tester.txt
- bdauer gleo nhs track
- boat.jpg grade.php nhs-lit track.jpg
- bootstrap hsilvernail php twang
- bwarsh images pjid twolfe
- cakeday index.default.html pjidbeta updater.php
- cal.php index.php polympics video
- camps it pride web
- cena.jpg jbrown putty.exe web.php
- chorus.mp4 jen qa wordpress
- clock jpatel rquaranta yearbook
- clock.php jquery sampsched youtube.php
- comments js sched zelda
- cpp jscott sec.html
- rquaranta@pj-linux01:/var/www/html$ cd rquarnata
- -bash: cd: rquarnata: No such file or directory
- rquaranta@pj-linux01:/var/www/html$ cd rquaranta
- rquaranta@pj-linux01:/var/www/html/rquaranta$ ls
- backups comments html passStore php
- rquaranta@pj-linux01:/var/www/html/rquaranta$ cloear
- No command 'cloear' found, did you mean:
- Command 'clear' from package 'ncurses-bin' (main)
- cloear: command not found
- rquaranta@pj-linux01:/var/www/html/rquaranta$ lc
- The program 'lc' is currently not installed. To run 'lc' please ask your administrator to install the package 'mono-devel'
- rquaranta@pj-linux01:/var/www/html/rquaranta$ ls
- backups comments html passStore php
- rquaranta@pj-linux01:/var/www/html/rquaranta$ clear
- rquaranta@pj-linux01:/var/www/html/rquaranta$ ls
- backups comments html passStore php
- rquaranta@pj-linux01:/var/www/html/rquaranta$ cd passStore
- rquaranta@pj-linux01:/var/www/html/rquaranta/passStore$ ls
- index.php search.php secretpwd.txt
- rquaranta@pj-linux01:/var/www/html/rquaranta/passStore$ vi index.php
- rquaranta@pj-linux01:/var/www/html/rquaranta/passStore$ ls
- index.php search.php secretpwd.txt
- rquaranta@pj-linux01:/var/www/html/rquaranta/passStore$ vi search.php
- <?php
- if (!isset($_SESSION['authenticated']))
- {
- header('Location: http://10.18.1.50/rquaranta/comments');
- // echo 'not authenticated...';
- exit;
- }
- if (isset($_POST['logout']))
- {
- $_SESSION = array();
- if (isset($_COOKIE[session_name()]))
- {
- setcookie(session_name(), '', time()-86400, '/');
- }
- // end session and redirect
- session_destroy();
- header('Location: http://10.18.1.50/rquaranta/passStore');
- exit;
- }
- ?>
- ~
- ~
- "search.php" 23L, 435C 1,1 All
- admin,5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement