Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
d01c99f
Added requirements.txt
sisitrs2 Mar 20, 2022
b1f7ae3
Pics For README.
Sh3lldor Mar 20, 2022
3d5db1b
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor Mar 20, 2022
d5ffb01
Update README.
Sh3lldor Mar 20, 2022
1fe82ca
Added new fixed version requirements file == req_new.txt
sisitrs2 Mar 20, 2022
7b51d4c
Added pointer to files in server.
sisitrs2 Mar 20, 2022
4815cf3
Merge branch 'dev' of github.com:redeye-framework/Redeye into dev
sisitrs2 Mar 20, 2022
a11eb1d
Added credits.txt
sisitrs2 Mar 20, 2022
715b190
Added credits.txt tasks.
sisitrs2 Mar 20, 2022
a0575c4
Updated.
Sh3lldor Mar 20, 2022
fa5a534
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor Mar 20, 2022
325f22c
Style fixes to serverusers.
sisitrs2 Mar 20, 2022
bc51058
Merge branch 'dev' of github.com:redeye-framework/Redeye into dev
sisitrs2 Mar 20, 2022
ac07570
Moved non relevant files.
sisitrs2 Mar 20, 2022
43db05e
Fixed user edit removes from server bug.
sisitrs2 Mar 20, 2022
bf674f8
Removed js files.
Sh3lldor Mar 20, 2022
828836a
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor Mar 20, 2022
4bb1422
Added sections fold.
sisitrs2 Mar 20, 2022
e572979
Changed README and added default attack vector.
Sh3lldor Mar 21, 2022
7a1d159
Fixed redeye icon.
sisitrs2 Mar 21, 2022
aca4fab
Changed Dockerfile.
Sh3lldor Mar 21, 2022
ea63b06
Fixed users management and Updated Dockerfile.
Sh3lldor Mar 21, 2022
f3e8689
Redeye management passwords are now stored in SHA256.
Sh3lldor Mar 21, 2022
1243963
Server is more editable.
sisitrs2 Mar 22, 2022
405ccb4
Merge branch 'dev' of github.com:redeye-framework/Redeye into dev
sisitrs2 Mar 22, 2022
cc02073
Fixed focus bug in server.
sisitrs2 Mar 22, 2022
e0c3d4b
Update.
Sh3lldor Mar 22, 2022
b37f88f
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor Mar 22, 2022
37dc4e1
Fixed conflict.
sisitrs2 Mar 23, 2022
55c2e9e
Update
Sh3lldor Mar 23, 2022
1c19b79
Deleted Added pictures.
Sh3lldor Mar 23, 2022
7647c1b
Small style changes.
sisitrs2 Mar 27, 2022
4e9ddad
Merge branch 'dev' of github.com:redeye-framework/Redeye into dev
sisitrs2 Mar 27, 2022
17e2d77
Fixed mana style.
sisitrs2 Mar 27, 2022
e872b25
Fix sections bug and ports bug.
sisitrs2 Mar 27, 2022
3354f51
Fixed comments style.
sisitrs2 Mar 27, 2022
762ef23
Added filtering to users. need to fix style.
sisitrs2 Mar 27, 2022
f2c3924
Added style to filter users.
sisitrs2 Mar 27, 2022
9ab47bc
Moved comment sender location.
sisitrs2 Mar 27, 2022
fe45ea1
Fixed Upload users file issue.
Sh3lldor Mar 28, 2022
c371842
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor Mar 28, 2022
4bf493d
Deleted Extra code && fixed upload users file.
Sh3lldor Mar 28, 2022
3ba1565
Deleted extra comments.
Sh3lldor Mar 28, 2022
e83297d
Now each project has its own management users.
Sh3lldor Mar 30, 2022
db2f238
Works stable, @sisitrs2 we can merge to main.
Sh3lldor Mar 30, 2022
f128619
Added help menu.
Sh3lldor Mar 30, 2022
589163c
Added style to servers.
sisitrs2 Mar 31, 2022
308489f
Fixed some sizing.
sisitrs2 Mar 31, 2022
d1826a4
Added precheck for startRedeye.
Sh3lldor Mar 31, 2022
0362622
Update README.md
Sh3lldor Apr 1, 2022
8df4a09
Updated Dockerfile and README.
Sh3lldor Apr 4, 2022
55bd591
Update README.md
Sh3lldor Apr 4, 2022
262f4fd
Fixed folder with spaces issue.
Sh3lldor Apr 5, 2022
7946c11
Users Type is now dynamic !
Sh3lldor Apr 14, 2022
d86812a
Added filter for two new functions.
Sh3lldor Apr 17, 2022
7ddfccb
Added profile pic in nav panel
Sh3lldor Apr 22, 2022
13c9b6b
Fixed Import users from file.
Sh3lldor Apr 26, 2022
3a3f87a
Update LICENSE
Sh3lldor Apr 28, 2022
331b573
Added volume to docker build.
Sh3lldor May 4, 2022
d470f23
Fixed username and icon positioning
sisitrs2 May 10, 2022
4d53fd8
Fixed comments refesh.
sisitrs2 May 10, 2022
d4012be
Fixed files button.
sisitrs2 May 10, 2022
efcf436
Removed useless folders.
sisitrs2 May 10, 2022
f36e99b
Returned context menu (download needs fixing).
sisitrs2 May 10, 2022
641ee8f
Commit newline.
sisitrs2 May 10, 2022
8e0be8b
Fixed pre-report image height.
sisitrs2 May 10, 2022
ae7bd72
Fixed tasks done shows from bottom.
sisitrs2 May 10, 2022
511148b
Added init neo4j integration.
Sh3lldor May 10, 2022
29fa7a5
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor May 10, 2022
2b4fcca
Added docker-compose.
Sh3lldor May 11, 2022
f7b546f
Changed docker.
Sh3lldor May 14, 2022
5fdafca
Merge branch 'dev' of github.com:redeye-framework/Redeye into dev
sisitrs2 May 15, 2022
b9ca037
Fixed profile image.
sisitrs2 May 16, 2022
cee9189
Fixed add folder.
sisitrs2 May 16, 2022
fcf530e
Added edit inputs to vulnerabilities.
sisitrs2 May 16, 2022
94d43a9
Added edit front.
sisitrs2 May 17, 2022
24c6cbb
All inputs in server have 'enter' key event to submit form.
sisitrs2 May 17, 2022
e343bd3
Updated upload file style.
sisitrs2 May 17, 2022
f4ce12a
Updated style on server.
sisitrs2 May 17, 2022
ff43f0e
Added section to server.
sisitrs2 May 17, 2022
ebd474e
Added 'enter
sisitrs2 May 17, 2022
f83d48d
Added delete to server (front side).
sisitrs2 May 17, 2022
46d9d77
Fixed tasks buttons.
sisitrs2 May 17, 2022
792d49a
Moved click to td.
sisitrs2 May 17, 2022
78ef07c
Server editable on backend.
Sh3lldor May 17, 2022
49ae31e
Added upload style.
Sh3lldor May 17, 2022
a0fd9c4
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor May 17, 2022
d020706
Backend change server.
Sh3lldor May 18, 2022
af5dab1
Added version.
sisitrs2 May 18, 2022
6366b69
Fixed description enter (needs to save enter to DB).
sisitrs2 May 18, 2022
2719e34
Fix bug server name.
sisitrs2 May 18, 2022
e89c8e0
Bug in ip change.
sisitrs2 May 18, 2022
65083ba
Change server backend is fixed.
Sh3lldor May 18, 2022
526f69e
Stats looks a lil bit better.
sisitrs2 May 18, 2022
88c85aa
Merge branch 'dev' of github.com:redeye-framework/Redeye into dev
sisitrs2 May 18, 2022
3b905f5
Added backend for delete server and change section for a server.
Sh3lldor May 18, 2022
2056c05
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor May 18, 2022
5b4e2ce
Added new create server.
sisitrs2 May 18, 2022
a0adff8
Small fixes.
sisitrs2 May 18, 2022
72eccc5
Merge branch 'dev' of github.com:redeye-framework/Redeye into dev
sisitrs2 May 18, 2022
36b1f36
Added servers status edit frontside.
sisitrs2 May 19, 2022
e84f628
Added backend for colors.
Sh3lldor May 19, 2022
a7a9bfe
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor May 19, 2022
76f6258
Colors in server are dynamic now.
Sh3lldor May 19, 2022
d1275c7
Servers colors are now linked to backend.
Sh3lldor May 21, 2022
55dde8b
Added color: add,edit
Sh3lldor May 21, 2022
0825fc1
Added bunch of shortcut keys.
sisitrs2 May 22, 2022
f695802
Fix input keybind bug.
sisitrs2 May 22, 2022
2bec01f
Fix input keybind bug edgecase.
sisitrs2 May 22, 2022
1c5d294
Added links shortcuts.
sisitrs2 May 22, 2022
4cc690b
Added create server form and backend api.
Sh3lldor May 22, 2022
77e7346
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor May 22, 2022
efece9e
Added shortcuts.
sisitrs2 May 22, 2022
e532544
Merge branch 'dev' of github.com:redeye-framework/Redeye into dev
sisitrs2 May 22, 2022
dcec4c6
Fixed new server bug. front ready.
sisitrs2 May 22, 2022
6f8de60
Fixed create server style.
sisitrs2 May 22, 2022
9ba3dc1
Added shortcuts.
sisitrs2 May 22, 2022
6bb8e5a
Added tab index.
sisitrs2 May 22, 2022
9f6b50e
Added colors from server from files.
Sh3lldor May 24, 2022
86f53d8
Added graph integrated inside redeye.
Sh3lldor May 25, 2022
8d789bd
Added pictures, fonts and more.
Sh3lldor May 25, 2022
39c9c41
Added query table to graph.
Sh3lldor May 28, 2022
dac8922
Small changes to servers.
sisitrs2 May 29, 2022
318254c
Fix conflict.
sisitrs2 May 29, 2022
eab331a
Little changes.
Sh3lldor May 29, 2022
6cc1751
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor May 29, 2022
f609384
Fixed wrapper.
Sh3lldor May 29, 2022
2fb309b
Deleted extra code.
Sh3lldor May 29, 2022
13c069d
Changed graph style.
Sh3lldor Jun 7, 2022
4413929
Fixed graph style.
sisitrs2 Jun 15, 2022
2f4ba5b
Added animations on graph.
sisitrs2 Jun 15, 2022
d36b629
Changed ip style.
sisitrs2 Jun 15, 2022
4acf05f
Removed socketio.
sisitrs2 Jun 15, 2022
1bbb49d
Fixed socketio.
sisitrs2 Jun 15, 2022
f8aa0ba
Fixed server head style.
sisitrs2 Jun 15, 2022
19058c9
Added export button.
sisitrs2 Jun 15, 2022
3130f5f
Added import.
sisitrs2 Jun 15, 2022
6ceae03
Fixed sections.
sisitrs2 Jun 16, 2022
e6aabde
Import/Export now works !
Sh3lldor Jun 19, 2022
d2f5398
Import/Export little change.
Sh3lldor Jun 19, 2022
3e7a6a3
Fixed users bug in import project.
Sh3lldor Jun 19, 2022
f7c5d4f
Added initialization after import.
Sh3lldor Jun 19, 2022
6c6e952
Graph is now available only from docker, Added pictures.
Sh3lldor Jun 21, 2022
1390753
Fixed Import/Export buttons.
Sh3lldor Jun 21, 2022
3740968
Updated style and graph update server.
Sh3lldor Jun 21, 2022
ef6d358
Fixed users bug.
Sh3lldor Jun 21, 2022
d2286a8
Fixed dup.
Sh3lldor Jun 21, 2022
320e162
Fixed change color bug.
Sh3lldor Jun 22, 2022
260ca90
Change some pictures.
Sh3lldor Jun 24, 2022
a7ada95
Fixed sidebar prefix on files.
sisitrs2 Jun 26, 2022
f52d8e3
Added backend for delete section.
Sh3lldor Jun 26, 2022
9e6dc09
Merge branch 'dev' of https://github.com/redeye-framework/Redeye into…
Sh3lldor Jun 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ DB/__pycache__
*.db
.vscode/settings.json
*.xml
files/Code Injection (1).pptx
files/data/logs.csv
files/*
RedeyeVirtualEnv/*
*.csv
*.docx
*.json
*.txt
*.jpg
*.whl
*.gz
*.gz
*.zip
zip/*
vpackages
resetDB.sh
pushHub.sh
21 changes: 14 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
# start by pulling the python image
# Start by pulling the python image
FROM python:latest

# copy the requirements file into the image
# Copy the requirements file into the image
RUN mkdir -p /redeye

# switch working directory
# Switch working directory
WORKDIR /redeye
COPY . /redeye

# install the dependencies and packages in the requirements file
# Install the dependencies and packages in the requirements file
RUN pip install -r requirements.txt

# Install sqlite3
RUN apt-get update && apt-get install -y sqlite3

# Expose the port
EXPOSE 5000
EXPOSE 8443

# Init the DB
RUN python RedDB/db.py

# configure the container to run in an executed manner
# Configure the container to run in an executed manner
ENTRYPOINT [ "python" ]

CMD ["redeye.py" ]
# Run redeye
CMD ["redeye.py", "--safe", "--docker", "--port", "8443"]
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) 2022, Daniel Arad and Elad Pticha
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43 changes: 27 additions & 16 deletions Parse/Parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
from RedDB import db
import xml.etree.ElementTree as ET
from collections import defaultdict
from werkzeug.utils import secure_filename
import graph

"""
Gets path to nmap.xml and returns data
Expand Down Expand Up @@ -111,16 +113,38 @@ def get_all_data(path):
# pass


def parse_users_passwords(exec,file_name,path):
def parse_users_passwords(dbName,exec,file_name,path, isDockerEnv):
with open(path,'r') as users_passwords:
data = users_passwords.readlines()

importedTypeName = "Imported from " + secure_filename(file_name)

# Add new user Type
typeNameExsist = 0
for typeName in db.get_all_users_types(dbName):
if typeName[0] == importedTypeName:
typeNameExsist = 1
break

# Add new type only if its not already exsists
if not typeNameExsist:
userTypeId = db.insert_new_user_type(dbName, importedTypeName)

else:
userTypeId = db.get_user_type(dbName, importedTypeName)[0][0]

for line in data:
try:
user,password = line.split(":")
password.rstrip("\n")
except:
continue

db.insert_new_other_user(5,file_name,user,password,"-",exec)

user_id = db.insert_new_other_user(dbName,userTypeId,file_name,user,password,"-",exec)

if isDockerEnv:
graph.addUserNode(user_id,user,password,"None")


def check_nmap_file(file_path):
"""
Expand All @@ -132,16 +156,3 @@ def check_nmap_file(file_path):
return True
else:
return False


def init():
#get_ip_hostname_vendor(r"C:\Users\Elad\total.xml")
#d = get_nmap_data(r"C:\Users\Elad\total.xml")
lst_ports = []
d = get_nmap_data(r"C:\Users\Elad\total.xml")
for ip,data in d.items():
print(ip,data[0]["vendor"],data[0]["hostname"],data[1]["ports"])


if __name__ == "__main__":
init()
Binary file added Pics/AttackVector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pics/EditServer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pics/Exploits.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pics/Files.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pics/Graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pics/PreReport.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pics/Servers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pics/Tasks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Pics/Users.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
125 changes: 110 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,117 @@
# Redeye

This project was built by pentesters for pentester.
Redeye is a management tool for creating a workflow while doing a pentest operation. Redeye was made for running while in a differentiated environment and non differentiated likewise. Can be used for a specific operation or as a continuous database for data collected in previous operations.
## Installation:
This project was built by pentesters for pentesters.
Redeye is a tool intended to help you manage your data during a pentest operation in the most efficient and organized way.

The installation process is short and easy.
## Table of Contents
- [The Developers](#The-Developers)
- [Overview](#Overview)
- [Source Installation](#Source)
- [Docker Installation](#Docker)
- [Special Thanks](#Special-Thanks)
- [Credits](#Credits)

### prerequisites
- Python3
- Pip3
- Cloned redeye project - `$ git clone git@github.com:sisitrs2/Redeye.git --depth=1`

### Source Installation
`$ cd Redeye`<br>
`$ chmod +x setup.sh && ./setup.sh`<br>
`$ python3 redeye.py`<br>
## The Developers
Daniel Arad - @dandan_arad && Elad Pticha - @elad_pt

### Docker Installation
## Overview

`chmod +x buildDocker.sh`<br>
`./buildDocker.sh`<br>
The Server panel will display all added server and basic information about the server such as: owned user, open port and if has been pwned.

![servers](https://raw.githubusercontent.com/redeye-framework/Redeye/dev/Pics/Servers.png)

After entering the server, An edit panel will appear. We can add new users found on the server, Found vulnerabilities and add relevant attain and files.

![edit-server](https://raw.githubusercontent.com/redeye-framework/Redeye/dev/Pics/EditServer.png)


Users panel contains all found users from all servers, The users are categorized by permission level and type. Those details can be chaned by hovering on the username.

![Users](https://raw.githubusercontent.com/redeye-framework/Redeye/dev/Pics/Users.png)

Files panel will display all the files from the current pentest. A team member can upload and download those files.

![Files](https://raw.githubusercontent.com/redeye-framework/Redeye/dev/Pics/Files.png)

Attack vector panel will display all found attack vectors with Severity/Plausibility/Risk graphs.

![AttackVector](https://raw.githubusercontent.com/redeye-framework/Redeye/dev/Pics/AttackVector.png)

PreReport panel will contain all the screenshots from the current pentest.

![Pre-Report](https://raw.githubusercontent.com/redeye-framework/Redeye/dev/Pics/PreReport.png)

Graph panel will contain all of the Users and Servers and the relationship between them.

![Graph](https://raw.githubusercontent.com/redeye-framework/Redeye/dev/Pics/Graph.png)


## Installation

### Source
```
cd Redeye
sudo apt install python3.8-venv
python3 -m venv RedeyeVirtualEnv
source RedeyeVirtualEnv/bin/activate
pip3 install -r requirements.txt
python3 RedDB/db.py
python3 redeye.py --safe
```

### Docker

Pull from Dockerhub.
```
cd Redeye
docker-compose up -d
```

Start/Stop the container
```
sudo docker-compose start/stop
```

Save/Load Redeye
```
docker save redeyeframework/redeye:latest neo4j:latest > Redeye.tar
docker load < Redeye.tar
```

### General
Redeye will listen on: http://0.0.0.0:8443</br>
Default Credentials:
- username: redeye
- password: redeye

Neo4j will listen on: http://0.0.0.0:7474</br>
Default Credentials:
- username: neo4j
- password: redeye

## Special-Thanks
- Yoav Danino for mental support and beta testing.

## Credits
* Sidebar
* https://github.com/azouaoui-med/pro-sidebar-template
* https://bootsnipp.com/snippets/Q0dAX

* flowchart
* https://www.jqueryscript.net/chart-graph/Drag-drop-Flow-Chart-Plugin-With-jQuery-jQuery-UI-flowchart-js.html

* download.js
* http://danml.com/download.html

* dropzone
* http://www.dropzonejs.com

* Pictures and Icons
* https://www.iconfinder.com
* licensed by - https://creativecommons.org/licenses/by/4.0
* http://www.freepik.com



If you own any Code/File in Redeye that is not under MIT License please contact us at: redeye.framework@gmail.com
3 changes: 3 additions & 0 deletions RedDB/colors.init
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Not Checked:#48baff
Not Owned:#ff0000
Owned:#04a11e
Loading