• 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

  • 相关阅读:
    使用jib-maven-plugin插件构建镜像并推送至私服Harbor
    区块链 - 为何元宇宙上了时代周刊?
    谷粒商城笔记+踩坑(4)——商品服务-品牌管理
    MVCC及实现原理
    新版Ai企业级系统去授权版本完美运行
    Google Earth Engine(GEE)——样本点提取间隔距离500米提取样本点
    Spring Boot文档阅读笔记-CORS Support
    k8s教程(15)-pod之亲和性与互斥性调度
    微服务(Spring Cloud)主要组件优缺点对比
    linux安装fbprophet程序库
  • 原文地址:https://blog.csdn.net/viviliving/article/details/128143986