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

Metasploit (5)-- Msfencode command

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

Share

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

When you say msfpayload, you naturally go to msfencode. No matter what else, many commands that generate backdoors use these two commands.

Root@bt:/opt/metasploit/msf3# msfencode-h Usage: / opt/metasploit/msf3/msfencode OPTIONS:-a The architecture to encode as / / specify the type of CPU-b The list of characters to avoid:'\ X00\ xff' / / remove some empty codes or error codes. For example,-b\ X00\ xff-c The number of times to encode the data / / Encoding times-d Specify the directory in which to look for EXE templates / / specify the path of the exe template-e The encoder to use / / choose which encoder to use-h Help banner-i Encode the contents of the supplied file path / / attach payload to an executable file. If you have already generated a payload, you can use the-I parameter to port your payload to a normal program. For example: the command msfencode-I shell.exe-x qq.exe means that I add a backdoor called shell.exe to a software called qq.exe-k Keep template working; run payload in new thread (use with-x) / / if you use the-x and-k parameters. When your payload runs, it will separate from the original master file and create a separate process And run-l List available encoders / / list all available encoders-m Specifies an additional module search path / / specify the path of an add-in-n Dump encoder information / / output encoder information-o The output file / / output file-p The platform to encode for / / specify encoding platform-s The maximum size of the encoded data / / specify the maximum number of bytes after encoding-t The output format: raw Format of ruby,rb,perl,pl,bash,sh,c,js_be,js_le,java,dll,exe,exe-small,elf,macho,vba,vba-exe,vbs,loop-vbs,asp,aspx,war / / output file-v Increase verbosity / / adds verbosity to the code Used in kill-free x Specify an alternate executable template / / to specify an alternate executable template

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