Git Product home page Git Product logo

post-hub's Introduction

0x01-免责声明

该项目仅供授权下使用,禁止使用该项目进行违法操作,否则自行承担后果,请各位遵守《中华人民共和国网络安全法》!!!

0x02-项目介绍

红队评估中的后渗透相关经验、技巧、思路

0x03-思路整理

一、基于主机的信息收集

01、lscpu查看是一台物理机还是虚拟机
02、查看每一个用户的.bash_history内容(里面有好多宝藏)
03、查看每一个用户的~/.ssh/下是否有公钥私钥对,有公钥私钥对的话,也许能免密登录其他主机
04、查看每一个用户的~/.ssh/下是否有authorized_keys,有的话,可以查看哪些用户登录过,配合lastlog可查看哪些用户从哪个ip登录过
05、通过netstat -antup获知监听哪些端口,即获知提供哪些服务,当发现提供mysql服务,可直接通过本机登录mysql数据库
06、通过netstat -antup获知连接哪些端口,即获知连接到哪些服务,当发现连接到mysql服务,可查看mysql配置文件,进而尝试连接mysql数据库
07、查看crontab -l
08、查看dns配置cat /etc/resolv.conf、cat /etc/hosts

post-hub's People

Contributors

ybdt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.