GithubHelp home page GithubHelp logo

0blio / caesar Goto Github PK

View Code? Open in Web Editor NEW
295.0 33.0 152.0 1.22 MB

An HTTP based RAT (Remote Administration Tool) that allows you to remotely control devices from your browser

License: GNU General Public License v3.0

CSS 2.21% JavaScript 6.32% PHP 85.36% Python 6.11%
rat http hacking browser php remote shell mysql

caesar's Introduction

Caesar

HTTP Remote Administration Tool

Release Release

screen

Introduction

Caesar is an HTTP-based RAT that allows you to remotely control devices directly from your browser.

Features

  • Easy to install and easy to use
  • It can be installed on any free web-hosting service (so you don't need port forwarding)
  • Database driven. You can queue tasks to be performed whenever the target is online and check the results.
  • It only requires the browser to run. So, once you set up the server, you can control it from every operating system (as well from Android, iOS and live operating systems like Tails OS)

Requirements

  • PHP 5.6+
  • Mysql
  • Python

Documentation and examples

Please refer to the wiki.

Video tutorial: https://www.youtube.com/watch?v=1d_7ye2vGq4

Video tutorial in spanish (by Reldsec): https://www.youtube.com/watch?v=zpEtgrveCx8

Contribute to the project

Do you want to help? You can translate the agent to your preferite programming language or improve the shell CSS in order to make it responsive on mobile phones.

Contacts

Emails: [email protected]

Save an hacker from starvation by making a donation

Foo

caesar's People

Contributors

0blio 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  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

caesar's Issues

File Uploading Is Not properly Working

What i have done?

  1. I select a target then type 'shell'.
  2. shell opens, then i type 'ls' to view the file listing and it shows file listing properly.
  3. In shell i typed 'download file.txt' and it says 'The file is being uploaded to the server'.
  4. I typed 'exit' to exit from shell.
  5. Then i typed 'files' to view downloaded files but is says '[!] No files downloaded from this target.'

What is going wrong? I also opened 'files' directory in server, It is empty, and i also have permission to read-write-execute on 'files' directory.

Everything is working fine except this.
Please help me out. Thanks in advanced. :-)

Database Error!

Hi, Im trying to run caesar on Ubuntu 17.10, I have installed all the requirements, created the database and everything...

But, I still having the same error of Database Error!, I tried to figure out what is wrong searching for a log or something but not rewarding at all.

Shell connecting stuck

Dear all...
I was able to set up Caesar and receive the target in my list.
however, upon selecting the target and issuing shell, it only stays as connecting...
any clue what to do?
the target pc is a a Win10 VM in my lab. It's powered on and working but still appearing as a red icon under the online flag
regards

gevent installation error

Please use any alternative module of grequests as this module require gevent module
and gevent module has some flaws

in 90 % cases it fails to build

All thing is great and working fine.

Error with Payload "Program too big for memory"

Hi! So I finally made the server work (It was just a thing with mysql configuration, particular case).
The thing is I compiled the payload with PyInstaller, but everytime I try to execute it in a windows PC says on the cmd: "Program too big for memory"

pyinstaller compiling

Hey 0blio,

Great work and thank you.

I have a small issue with compiling the client on a windows machine;
even though I have all the libs installed with pip, and the script is ran fine from the python cli, after I try to compile it with pyinstaller it complains with:

E:\caesar\dist\caesar_client>caesar_client.exe
Traceback (most recent call last):
File "caesar_client.py", line 9, in
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 395, in load_module
exec(bytecode, module.dict)
File "site-packages\grequests.py", line 18, in
RuntimeError: Gevent is required for grequests.
[2204] Failed to execute script caesar_client

I don't get any errors or warnings at compile time;
I've also tried to add some hidden imports in the .spec file, but with no success.

Could you maybe point me in the right direction or maybe share your spec file?

Thank you and all the best,

PS: I would like to help porting the client to c# or c++, if you may need some help

login.php

Hi , i created database and set it.
when i want to login to panel i fill the form and login but Nothing happens!
it dosent redirect to shell.php
error_log:
[11-Jul-2018 16:39:48 UTC] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'faralear_user'@'localhost' (using password: YES)' in /home/faralear/public_html/S3rver/database/PicoDb/Driver/Mysql.php:50
Stack trace:
#0 /home/faralear/public_html/S3rver/database/PicoDb/Driver/Mysql.php(50): PDO->__construct('mysql:host=loca...', 'faralear_user', '3VL1;2JNF7', Array)
#1 /home/faralear/public_html/S3rver/database/PicoDb/Driver/Base.php(129): PicoDb\Driver\Mysql->createConnection(Array)
#2 /home/faralear/public_html/S3rver/database/PicoDb/DriverFactory.php(38): PicoDb\Driver\Base->__construct(Array)
#3 /home/faralear/public_html/S3rver/database/PicoDb/Database.php(61): PicoDb\DriverFactory::getDriver(Array)
#4 /home/faralear/public_html/S3rver/database/connection.php(23): PicoDb\Database->__construct(Array)
#5 /home/faralear/public_html/S3rver/login.php(26): include('/home/faralear/...')
#6 {main}
thrown in /home/faralear/public_html/S3rver/database/PicoDb/Driver/Mysql.php on line 50

Downloading Files

So after messing around with this for a while, I can't seem to download anyfiles with the extensions "rar, zip, js" etc..

New error (Uncaught exception 'LogicException' with message 'This configuration parameter is missing: "hostname"')

[Sun Mar 11 05:30:48.444042 2018] [:error] [pid 17335] [client 127.0.0.1:44482] PHP Fatal error: Uncaught exception 'LogicException' with message 'This configuration parameter is missing: "hostname"' in /var/www/html/database/PicoDb/Driver/Base.php:125\nStack trace:\n#0 /var/www/html/database/PicoDb/DriverFactory.php(38): PicoDb\Driver\Base->__construct(Array)\n#1 /var/www/html/database/PicoDb/Database.php(61): PicoDb\DriverFactory::getDriver(Array)\n#2 /var/www/html/database/connection.php(23): PicoDb\Database->__construct(Array)\n#3 /var/www/html/login.php(26): include('/var/www/html/d...')\n#4 {main}\n thrown in /var/www/html/database/PicoDb/Driver/Base.php on line 125, referer: http://localhost/login.php

is it me or where am i going wrong? Looked at PicoDb files, and all seems okay. Installation is getting finished, but i am getting the above error, tested on two machines

Naming problem in documentation

Hello !

Great works ! But you made a mistake in your documentation, in the compilation section, the file to compile isn't "client.py" but "Client/caesar.py" . There is a bash script that i quickly made to install it on my Fedora

#!/usr/bin/sh

pip install requests
pip install pyinstaller
sudo pyinstaller -F Client/caesar.py

python caesar.py problem

How i can install Missing dependencies.
Some dependencies are missing, do you want to install them? (y/n): y
[!] Missing dependencies.

conect back issue

I just setup caesar rat into my parrot os . after setting up every thing I generate payload via python caesar.py file and for server/ip I user my local ip 192.168.200.10 and file generated with test.py .

I ran python test.py and check my webpanel targets , no target listed there.

Regards

Dummy

I hope this will be easy for a newbie

Add Perl client

Hello again !

I installed and tried your RAT all was fine except one thing ... i hate python and the generated client payload was in python 😃 So i made an equivalent in perl. Let me know if you are interested by it and i will create a repo on my git with the file. I will also have a look at pp packager and if i have time i will make a generator.

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.