当前位置:网站首页>[kali-Metasploit] Armitage FAQ: sudo permission, unable to connect to database, service not found
[kali-Metasploit] Armitage FAQ: sudo permission, unable to connect to database, service not found
2022-08-05 15:00:00 【The Black Zone (Rise)】
目录
一、问题一:sudo权限、连接不到数据库
1.1、示例:
从Armitage内部进行 NMap 扫描 - lack of root privileges
armitage 提示running nmap with sudo
1.2、错误重现:
启动metasploit + armitage
启动 armitage 并单击“Hosts->Nmap->快速扫描 (OSdetect)
1.3、问题分析:
1、nmap The order is not made by armitage 启动的,而是由 msfrpcd 启动的,必须确保 msfrpcd 以 root 权限运行
2、If in noroot和msfrpcd运行的armitage,armitage You will be asked if you should start msfrpcd,单击“是”后,msfrpcd 在没有 root 的情况下启动,如果退出,msfrpcd 也不会退出,Instead, it continues to run in the background
3、sudo 重新启动了 armitage,But it connects to non sudo msfrpcd,所以 nmap 提示没有 root
4、要在msf中使用sudo armitage(to connect to)
1.4、问题解决:
方法一:
退出 armitage,退出 msfrpcd
使用 sudo 启动 armitage,This will ask you again if you should start msfrpcd,It will now start with root privileges
方法二:
sudo msfrpcd -U user -P password
sudo armitage
方法三:(我使用的)
sudo msfconsole
sudo armitage
Then you can scan it out
二、问题二:service not found
2.1、错误重现:
Failed to start metasploit.service: Unit metasploit.service not found.
2.2、分析:
sudo service metasploit start是老命令了
现在直接sudo msfconsole
就启动了 metasploit
再输入db_status查询
边栏推荐
猜你喜欢
随机推荐
环境文件复制
アィシャ / 艾夏
兆骑科创高层次人才引进平台,赛事活动举办,线上路演
Business local multithreading
Lagrange Multiplier Method
Fundamentals of Probability - 11 - Gaussian Distribution / Normal Distribution
Treasure Project(藏宝计划)冲刺百倍!
概率论基础 - 8 - 大数定理
软件测试之集成测试
PAT甲级:1043 Is It a Binary Search Tree
Mahalanobis distance
请指教同花顺究竟怎么开户?在线开户安全么?
OneNote 教程,如何在 OneNote 中插入表格并设置其格式?
shell实现加密压缩文件自动解压
兵荒马乱,毕业季的故事
Study Notes 251—XMind Shortcuts Summary
华为分析&联运活动,助您提升游戏总体付费
Fundamentals of Probability Theory - 12 - Laplace Distribution
概率论基础 - 14 - 指数分布
Graduation thesis description layout sample
















