• 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

  • 相关阅读:
    入门力扣自学笔记110 C++ (题目编号1374)
    池式结构:对象池(Object Pool)
    DOM——事件语法
    动态规划-不同路径
    IDEA好用插件推荐
    如何制作网页 ico
    【100天精通Python】Day65:Python可视化_Matplotlib3D绘图mplot3d,绘制3D散点图、3D线图和3D条形图,示例+代码
    R语言空间插值/R语言离散数据网格化/R语言空间点插值/R语言nc日均转月均、日期转换
    LeetCode 最大矩形,最大正方形系列 84. 85. 221. 1277. 1725. (单调栈,动态规划)
    Unity 之 图集属性详解和代码示例 -- 拓展一键自动打包图集工具
  • 原文地址:https://blog.csdn.net/viviliving/article/details/128143986