Giter Club home page Giter Club logo

Comments (11)

gloxec avatar gloxec commented on May 29, 2024

genCrossC2放至cs根目录下, 详情参照wiki, issue #1

from crossc2.

sharp-shooter avatar sharp-shooter commented on May 29, 2024

复制了,还是一样的错误

from crossc2.

gloxec avatar gloxec commented on May 29, 2024

看错误就是无法正确读取到cobaltstrike.jar文件导致的,需要放同目录,且保证原jar包正常

from crossc2.

sharp-shooter avatar sharp-shooter commented on May 29, 2024

您好,上个问题解决了,是我的cobaltstrike.jar名字不对,然后在Linux上边运行刚生成的payload,在web log里边一直提示404,如下所示:
04/10 18:51:41 visit from:
Request: GET /load
Response: 404 Not Found
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome52.0.2743.116 Safari/537.36

请问这是怎么回事呢 ,提前谢谢了

from crossc2.

gloxec avatar gloxec commented on May 29, 2024

你是不是用的自定义的c2profile?
crossc2目前的版本只支持默认的profile, 不过已经在写了,后面会推送:p

from crossc2.

slowmistio avatar slowmistio commented on May 29, 2024

@gloxec
[14:22:59] invalid use of index operator: $null['host'] at CrossC2.cna:34
[14:26:04] null value error at CrossC2.cna:39

提示这个错

from crossc2.

slowmistio avatar slowmistio commented on May 29, 2024

另外,我看 CrossC2.cna 的源码,有两个 null
$process = exec("/xxx/xx/xx/genCrossC2"." ".$host." ". $port." null null ".$system." ".$arch." ".$outputFileName);
@DaTa = readAll($process);
closef($process);

我放好的文件位置:
image

from crossc2.

slowmistio avatar slowmistio commented on May 29, 2024

Mac Pro
./genCrossC2.Linux 10.2.0.5 1000 null null linux x86 /tmp/CrossC2-test
zsh: exec format error: ./genCrossC2.Linux

报错

from crossc2.

gloxec avatar gloxec commented on May 29, 2024

你用MacOS的话,需要使用genCrossC2.MacOS可执行文件,$process = exec("/xxx/xx/xx/genCrossC2.MacOS" . ".$host." ".
另外那两个null是做占位用,原本是用来设定get/post URI, 自定义流量基本已经完成,后续会废弃这两个字段.

Mac Pro
./genCrossC2.Linux 10.2.0.5 1000 null null linux x86 /tmp/CrossC2-test
zsh: exec format error: ./genCrossC2.Linux

报错

from crossc2.

gloxec avatar gloxec commented on May 29, 2024

[14:22:59] invalid use of index operator: $null['host'] at CrossC2.cna:34
[14:26:04] null value error at CrossC2.cna:39

提示这个错

这个你需要检查下listener是否创建错误或者选择错误?

from crossc2.

slowmistio avatar slowmistio commented on May 29, 2024

@gloxec 好的,我用的是4.0 。可能是版本问题?
你可以在readme 加个支持版本 ^_^

from crossc2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.