当前位置:网站首页>MSF tips
MSF tips
2022-06-09 09:51:00 【Always a teenager】
Today, let's continue to introduce the relevant knowledge of penetration testing , The main content of this paper is MSF Use tips .
disclaimer :
The content introduced in this article is only for learning and communication , It is strictly prohibited to use the technology in the text for illegal acts , Otherwise, you will bear all serious consequences !
Again : It is forbidden to perform penetration tests on unauthorized equipment !
One 、MSF Command line on
MSF Can be in Kali Linux In the system, it is opened directly through the graphical page . however , If we want to start it manually MSF, Then we must first open MSF Dependence ——postgresql.
In high version MSF in , Even if we don't open postgresql,MSF It can also start normally , But it will lose the function of recording .
postgresql The start command of is as follows :
systemctl start postgresql
In the open postgresql After the database , We can execute the order :
msfconsole
To open MSF Interactive pages for .
Two 、MSF sign out
We're entering MSF After a module of , If you want to exit the module , Can execute orders :
back
Never carry out orders :
exit
This command will cause the entire MSF Interactive page .
3、 ... and 、MSF Database import and export
MSF Support to save the results of the previous scan in the database , And support data import and export .
stay MSF Under interactive page , Carry out orders :
db_export -f xml /root/bak.xml
The data content can be divided into XML Format export , among -f Specifies the format of the export file , We have no choice but to xml Out of format , You can also choose pwdump The format of .
The execution result of the above command is as follows :
after , We delete one host Content , Then re import the data we just exported , See the effect .
MSF The data import command for is as follows :
db_import /root/bak.xml
The execution result of this command is as follows :
As can be seen from the above figure , We can use database import to restore the original content .
Four 、MSF Session settings
MSF After using the module to establish a link to the target host , We can execute exit Command exit , however , Although we exited the interactive page , But in fact MSF No session interruption .
We carry out orders :
sessions
You can view the current and MSF Device linked sessions , As shown below :
If we want to enter a session again , Can execute orders :
sessions -i 【 Session number 】
that will do , The above command is executed as follows :
Originality is not easy. , Reprint please explain the source :https://blog.csdn.net/weixin_40228200
边栏推荐
- 【计算机网络-19】计算机网络面试题
- [probability theory] correlation calculation between variables
- 【科技、商业和管理】看剧学创业:《硅谷》第六季第3-5集
- How to draw a picture gracefully
- 【科技、商业和管理】看剧学创业:《硅谷》第五季第1-3集
- 【图机器学习】图神经网络入门(一)谱图理论
- LeetCode_ Sort_ Medium_ 406. reconstruct the queue based on height
- How do you view the multi runtime architecture of dapr and layotto?
- 【线性代数】理解正定矩阵和半正定矩阵
- SSM详解
猜你喜欢

openstack详解(十六)——openstack Nova安装与数据库配置

Sword finger offer09-- implement queue with two stacks

Summary of Android development interview experience and compilation of actual records (must see)
![[technology, business and management] drama learning and Entrepreneurship: Silicon Valley season 5 Episode 1-3](/img/b4/abafefd08dce0ebfdcd772686495e9.png)
[technology, business and management] drama learning and Entrepreneurship: Silicon Valley season 5 Episode 1-3

Linux online installation of a neo4j diagram database

剑指offer09--用两个栈实现队列

视觉SLAM总结——SuperPoint / SuperGlue
![[FAQ for novices on the road] how do non IT enterprises make Internet products](/img/1e/541eb4e745ab01491319e427475271.png)
[FAQ for novices on the road] how do non IT enterprises make Internet products

【实战技能】Google I/O 2022大会AI/ML给开发者的启发

机器学习笔记 - 探索 keras 数据集
随机推荐
[good book recommendation] popular science book of chip industry: core affairs
【科技、商业和管理】看剧学创业:《硅谷》第六季第1-2集
[probability theory] correlation calculation between variables
SOFA Weekly | Kusion 开源啦、本周 QA、本周 Contributor
Benefits of TS generic classes and generic interfaces
LeetCode_ Backtracking_ Difficulties_ 301. delete invalid brackets
redis info命令 memory内存信息说明
What's wrong with Android development today? Is the interview question I asked so difficult?
使用一条查询语句查询数据在0-60,60-80,80-100分数范围内的人数
解决apscheduler报错:Run time of job …… next run at: ……)” was missed by
数字图像处理 图解边缘检测在图像理解中的作用
Draw multiple polygons using canvas
CVE-2019-0192 Apache solr远程反序列化代码执行漏洞危害
LeetCode_ Monotone stack_ Medium_ 739. daily temperature
MSF practice - harm of ms17-010 vulnerability
MSF基于SNMP协议的信息收集
Learn about graph database neo4j (I)
TS 泛型类和泛型接口的好处
LeetCode_单调栈_中等_739. 每日温度
Array.map()简写函数