• ctf:kali工具: msfvenom


    root@kali:~# msfvenom 
    Error: No options
    MsfVenom - a Metasploit standalone payload generator.
    Also a replacement for msfpayload and msfencode.
    Usage: /usr/bin/msfvenom [options]
    Example: /usr/bin/msfvenom -p windows/meterpreter/reverse_tcp LHOST= -f exe -o payload.exe

    Options:
        -l, --list                 List all modules for [type]. Types are: payloads, encoders, nops, platforms, archs, encrypt, formats, all
        -p, --payload          Payload to use (--list payloads to list, --list-options for arguments). Specify '-' or STDIN for custom
            --list-options               List --payload 's standard, advanced and evasion options
        -f, --format             Output format (use --list formats to list)
        -e, --encoder          The encoder to use (use --list encoders to list)
            --service-name        The service name to use when generating a service binary
            --sec-name            The new section name to use when generating large Windows binaries. Default: random 4-character alpha string
            --smallest                   Generate the smallest possible payload using all available encoders
            --encrypt            The type of encryption or encoding to apply to the shellcode (use --list encrypt to list)
            --encrypt-key        A key to be used for --encrypt
            --encrypt-iv          An initialization vector for --encrypt
        -a, --arch                 The architecture to use for --payload and --encoders (use --list archs to list)
            --platform         The platform for --payload (use --list platforms to list)
        -o, --out                 Save the payload to a file
        -b, --bad-chars           Characters to avoid example: '\x00\xff'
        -n, --nopsled           Prepend a nopsled of [length] size on to the payload
            --pad-nops                   Use nopsled size specified by -n as the total payload size, auto-prepending a nopsled of quantity (nops minus payload length)
        -s, --space             The maximum size of the resulting payload
            --encoder-space     The maximum size of the encoded payload (defaults to the -s value)
        -i, --iterations          The number of times to encode the payload
        -c, --add-code             Specify an additional win32 shellcode file to include
        -x, --template             Specify a custom executable file to use as a template
        -k, --keep                       Preserve the --template behaviour and inject the payload as a new thread
        -v, --var-name            Specify a custom variable name to use for certain output formats
        -t, --timeout           The number of seconds to wait when reading the payload from STDIN (default 30, 0 to disable)
        -h, --help                       Show this message

  • 相关阅读:
    uniapp小程序九宫格抽奖
    数据库事务——数据库的锁
    hyperf 三十一 极简DB组件
    无公网IP如何将本地服务器端口应用发布到互联网外网访问?快解析内网穿透
    激光测距用高精度时间测量(TDC)电路MS1005
    技术分享 | app自动化测试(Android)-- 特殊控件 Toast 识别
    Dubbo默认使用什么序列化框架?
    【设计模式】策略模式(行为型)⭐⭐
    Chapter0.3:矩阵代数初步
    UE4 Sequence添加基础动画效果 (01-物体移动)
  • 原文地址:https://blog.csdn.net/viviliving/article/details/128143986