Coder Social home page Coder Social logo

c2's People

Contributors

0xrick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

c2's Issues

Download Feature

Hi there,

Thank you for your time with this! Its really good!! The exe and powershell doesnt get detected by Windows Defender and Symantec Endpoint. Are you doing any syscalls against the APIs?
Also, Would love a download feature to data exfiltrate off the c2! That would be handy.

Remove an Agent Error

I exit the C2 Program incorrectly and an agent is currently still running with no connection back.
I try to remove it, however it gives me an error

(agents)::> remove RGMFPD
Traceback (most recent call last):
File "/home/kali/c2/c2.py", line 31, in
main()
File "/home/kali/c2/c2.py", line 28, in main
home()
File "./core/menu.py", line 219, in home
evHome(command, args)
File "./core/menu.py", line 138, in evHome
agentsHelper()
File "./core/menu.py", line 181, in agentsHelper
home()
File "./core/menu.py", line 219, in home
evHome(command, args)
File "./core/menu.py", line 140, in evHome
payloadsHelper()
File "./core/menu.py", line 203, in payloadsHelper
evPayloads(command, args)
File "./core/menu.py", line 121, in evPayloads
home()
File "./core/menu.py", line 219, in home
evHome(command, args)
File "./core/menu.py", line 138, in evHome
agentsHelper()
File "./core/menu.py", line 181, in agentsHelper
home()
File "./core/menu.py", line 219, in home
evHome(command, args)
File "./core/menu.py", line 136, in evHome
listenersHelper()
File "./core/menu.py", line 159, in listenersHelper
home()
File "./core/menu.py", line 219, in home
evHome(command, args)
File "./core/menu.py", line 140, in evHome
payloadsHelper()
File "./core/menu.py", line 203, in payloadsHelper
evPayloads(command, args)
File "./core/menu.py", line 121, in evPayloads
home()
File "./core/menu.py", line 219, in home
evHome(command, args)
File "./core/menu.py", line 138, in evHome
agentsHelper()
File "./core/menu.py", line 187, in agentsHelper
evAgents(command, args)
File "./core/menu.py", line 114, in evAgents
interactWithAgent(args)
File "./core/agentshelpers.py", line 119, in interactWithAgent
agents[name].interact()
File "./core/agent.py", line 174, in interact
self.ev(command, args)
File "./core/agent.py", line 158, in ev
self.QuitandRemove()
File "./core/agent.py", line 122, in QuitandRemove
menu.home()
File "./core/menu.py", line 219, in home
evHome(command, args)
File "./core/menu.py", line 138, in evHome
agentsHelper()
File "./core/menu.py", line 187, in agentsHelper
evAgents(command, args)
File "./core/menu.py", line 110, in evAgents
removeAgent(args)
File "./core/agentshelpers.py", line 95, in removeAgent
taskAgentToQuit(name)
File "./core/agentshelpers.py", line 157, in taskAgentToQuit
agents[name].Quit()
File "./core/agent.py", line 128, in Quit
self.writeTask("quit")
File "./core/agent.py", line 44, in writeTask
task = ENCRYPT(task, self.key)
File "./core/encryption.py", line 48, in ENCRYPT
enc = c.encrypt(PLAIN)
File "./core/encryption.py", line 18, in encrypt
iv = Random.new().read(AES.block_size)
File "/usr/local/lib/python3.9/dist-packages/Crypto/Random/_UserFriendlyRNG.py", line 202, in read
return self._singleton.read(bytes)
File "/usr/local/lib/python3.9/dist-packages/Crypto/Random/_UserFriendlyRNG.py", line 178, in read
return _UserFriendlyRNG.read(self, bytes)
File "/usr/local/lib/python3.9/dist-packages/Crypto/Random/_UserFriendlyRNG.py", line 129, in read
self._ec.collect()
File "/usr/local/lib/python3.9/dist-packages/Crypto/Random/_UserFriendlyRNG.py", line 77, in collect
t = time.clock()
AttributeError: module 'time' has no attribute 'clock'

Could you please assist?

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.