切换风格

Wizard Sky California Sunset glow Black Cloud Beige Dragon Lavender NewYear City Snow Flowers London
收藏本站XSS平台字符串转换jsfuck
260 熟背 netcat 2[复制链接]
发表于 2012-9-12 00:08:56 | 显示全部楼层 |!read_mode!
传输消息
  1. root@ubuntu:~# nc -l -v 1234
  2. fuck you
复制代码
  1. root@Dis9Team:~# nc 5.5.5.8 1234
  2. fuck you
复制代码
  1. 任意一段输入文字 双方可见

  2. 端口探测
复制代码
  1. root@Dis9Team:~# nc -v -w 1 5.5.5.8 -z 1-22
  2. nc: connect to 5.5.5.8 port 1 (tcp) failed: Connection refused
  3. nc: connect to 5.5.5.8 port 2 (tcp) failed: Connection refused
  4. nc: connect to 5.5.5.8 port 3 (tcp) failed: Connection refused
  5. nc: connect to 5.5.5.8 port 4 (tcp) failed: Connection refused
  6. nc: connect to 5.5.5.8 port 5 (tcp) failed: Connection refused
  7. nc: connect to 5.5.5.8 port 6 (tcp) failed: Connection refused
  8. nc: connect to 5.5.5.8 port 7 (tcp) failed: Connection refused
  9. nc: connect to 5.5.5.8 port 8 (tcp) failed: Connection refused
  10. nc: connect to 5.5.5.8 port 9 (tcp) failed: Connection refused
  11. nc: connect to 5.5.5.8 port 10 (tcp) failed: Connection refused
  12. nc: connect to 5.5.5.8 port 11 (tcp) failed: Connection refused
  13. nc: connect to 5.5.5.8 port 12 (tcp) failed: Connection refused
  14. nc: connect to 5.5.5.8 port 13 (tcp) failed: Connection refused
  15. nc: connect to 5.5.5.8 port 14 (tcp) failed: Connection refused
  16. nc: connect to 5.5.5.8 port 15 (tcp) failed: Connection refused
  17. nc: connect to 5.5.5.8 port 16 (tcp) failed: Connection refused
  18. nc: connect to 5.5.5.8 port 17 (tcp) failed: Connection refused
  19. nc: connect to 5.5.5.8 port 18 (tcp) failed: Connection refused
  20. nc: connect to 5.5.5.8 port 19 (tcp) failed: Connection refused
  21. nc: connect to 5.5.5.8 port 20 (tcp) failed: Connection refused
  22. nc: connect to 5.5.5.8 port 21 (tcp) failed: Connection refused
  23. Connection to 5.5.5.8 22 port [tcp/ssh] succeeded!
  24. root@Dis9Team:~#
复制代码
发送数据
  1. root@Dis9Team:~# nc 5.5.5.8 80
  2. HEAD / HTTP/0.1

  3. HTTP/1.1 200 OK
  4. Date: Sun, 26 Aug 2012 15:42:08 GMT
  5. Server: Apache/2.2.16 (Ubuntu)
  6. Vary: Accept-Encoding
  7. Connection: close
  8. Content-Type: text/html;charset=UTF-8
复制代码
传输文件

监听1234 端口 保存数据为1

  1. root@ubuntu:~# nc.traditional -l -p 1234 > 1
复制代码
发送数据

  1. root@Dis9Team:~# nc 5.5.5.8 1234 < /etc/passwd
复制代码
查看

  1. root@ubuntu:~# cat 1
  2. root:x:0:0:root:/root:/bin/bash
  3. daemon:x:1:1:daemon:/usr/sbin:/bin/sh
  4. bin:x:2:2:bin:/bin:/bin/sh
  5. sys:x:3:3:sys:/dev:/bin/sh
  6. sync:x:4:65534:sync:/bin:/bin/sync
  7. games:x:5:60:games:/usr/games:/bin/sh
  8. man:x:6:12:man:/var/cache/man:/bin/sh
  9. lp:x:7:7:lp:/var/spool/lpd:/bin/sh
  10. mail:x:8:8:mail:/var/mail:/bin/sh
  11. news:x:9:9:news:/var/spool/news:/bin/sh
  12. uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
  13. proxy:x:13:13:proxy:/bin:/bin/sh
  14. www-data:x:33:33:www-data:/var/www:/bin/sh
  15. backup:x:34:34:backup:/var/backups:/bin/sh
  16. list:x:38:38:Mailing List Manager:/var/list:/bin/sh
  17. irc:x:39:39:ircd:/var/run/ircd:/bin/sh
  18. gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
  19. nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
  20. libuuid:x:100:101::/var/lib/libuuid:/bin/sh
  21. syslog:x:101:103::/home/syslog:/bin/false
  22. messagebus:x:102:105::/var/run/dbus:/bin/false
  23. avahi-autoipd:x:103:108:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false
  24. avahi:x:104:109:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
  25. usbmux:x:105:46:usbmux daemon,,,:/home/usbmux:/bin/false
  26. gdm:x:106:114:Gnome Display Manager:/var/lib/gdm:/bin/false
  27. speech-dispatcher:x:107:29:Speech Dispatcher,,,:/var/run/speech-dispatcher:/bin/sh
  28. kernoops:x:108:65534:Kernel Oops Tracking Daemon,,,:/:/bin/false
  29. pulse:x:109:116:PulseAudio daemon,,,:/var/run/pulse:/bin/false
  30. rtkit:x:110:119:RealtimeKit,,,:/proc:/bin/false
  31. hplip:x:111:7:HPLIP system user,,,:/var/run/hplip:/bin/false
  32. saned:x:112:121::/home/saned:/bin/false
  33. brk:x:1000:1000:Dis9Team,,,:/home/brk:/bin/bash
  34. postgres:x:113:123:PostgreSQL administrator,,,:/var/lib/postgresql:/bin/bash
  35. smmta:x:114:124:Mail Transfer Agent,,,:/var/lib/sendmail:/bin/false
  36. smmsp:x:115:125:Mail Submission Program,,,:/var/lib/sendmail:/bin/false
  37. vboxadd:x:999:1::/var/run/vboxadd:/bin/false
  38. sshd:x:116:65534::/var/run/sshd:/usr/sbin/nologin
  39. root@ubuntu:~#
复制代码
加密
  1. root@ubuntu:~# echo dis9team > test
  2. root@ubuntu:~# openssl enc -bf -in test -pass pass:123456  | nc -l 4444
复制代码
直接连接试试
  1. root@Dis9Team:~# nc 5.5.5.8 4444
  2. Salted__����cߗ1�
  3. 2ܩ��3�P,W�w��
复制代码
不能 ,使用密码
  1. root@Dis9Team:~# nc 5.5.5.8 4444 | openssl enc -bf -pass pass:123456 -d
  2. dis9team
  3. root@Dis9Team:~#
复制代码
SHELL加密




操千曲而后晓声,观千剑而后识器。

代码区

GMT+8, 2020-10-2 02:42

Powered by Discuz! X2

© 2001-2018 Comsenz Inc.

回顶部