Comments (11)
genCrossC2放至cs根目录下, 详情参照wiki, issue #1
from crossc2.
复制了,还是一样的错误
from crossc2.
看错误就是无法正确读取到cobaltstrike.jar文件导致的,需要放同目录,且保证原jar包正常
from crossc2.
您好,上个问题解决了,是我的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.
你是不是用的自定义的c2profile?
crossc2目前的版本只支持默认的profile, 不过已经在写了,后面会推送:p
from crossc2.
@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.
另外,我看 CrossC2.cna 的源码,有两个 null
$process = exec("/xxx/xx/xx/genCrossC2"." ".$host." ". $port." null null ".$system." ".$arch." ".$outputFileName);
@DaTa = readAll($process);
closef($process);
from crossc2.
Mac Pro
./genCrossC2.Linux 10.2.0.5 1000 null null linux x86 /tmp/CrossC2-test
zsh: exec format error: ./genCrossC2.Linux
报错
from crossc2.
你用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.
[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.
@gloxec 好的,我用的是4.0 。可能是版本问题?
你可以在readme 加个支持版本 ^_^
from crossc2.
Related Issues (20)
- 获取不到监听器 HOT 9
- macOS Ventura更新后报错segmentation fault (inter) HOT 13
- Dropped HTTP client from /*.*.*.* (missing URI) HOT 2
- buy source code HOT 1
- Linux-bind 自定义端口无效 HOT 1
- CS4.8是否支持?4.8生成后客户端链接显示解密失败 HOT 2
- 选中多台linux主机时,Kit出现重复选项 HOT 2
- x86系统上线失败. HOT 1
- cs的crossc2插件用于linux环境在使用cloudflare cdn环境下各种尝试均无法上线的问题 HOT 1
- 测试使用cs4.5发现目前只有linux下可以生成被控端且只能ip上线 HOT 10
- Execution stop after parse ";;c2.profile" with no beacon generation HOT 1
- How long to support 4.5?? HOT 1
- 主机上线后,一周左右不登录客户端,在登录的时候会掉鸡 HOT 5
- aarch64架构支持 HOT 4
- crossc2反向代理 HOT 3
- 如何获取genCrossC2.Windows 3.2版本 HOT 2
- cs4.8 c2profile解析问题 HOT 4
- 希望可以不解析.cobaltstrike.beacon_keys,直接指定RSA密钥 HOT 2
- beacon在memfd_create中无法运行 HOT 1
- cs4.9.1执行命令后无回显 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crossc2.