Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/Marist-Innovation-Lab/PasitheaHoneypot


https://github.com/Marist-Innovation-Lab/PasitheaHoneypot

Last synced: 2 months ago
JSON representation

Lists

README

        

# Pasithea: API Honeypot

### Installing Pasithea

Pasithea has a built in install script for easy installs on Ubuntu machines.

##### 1. Run the install script†
```sh
$ cd PasitheaHoneypot/src
$ sudo ./install.sh
```
The script will now run the apt-get application manager and install the required dependencies.

You will eventually be prompted to enter the port number you would like Pasithea to run on.
```sh
Please enter the port number you would like to configure the APIhp on. Press Enter to default to 8080

```
The install script will automatically compile the Java for you, and create a seperate script that will run the server for you.

##### 3. Run the server!
First, you must make the new script executable:
```sh
$ sudo chmod +x runAPIrest.sh
```
Then, run the server!
```sh
$ sudo ./runAPIrest.sh
```
After Pasithea has been deployed, any attempt on the API Honeypot will be logged in a '~' delimited log file named API.log in the src folder.
If you would like to run Paisthea in the background, check out [screen]!
If you would like to have Paisthea run on boot add the path to your runAPIrest.sh file to your `/etc/rc.local` file.

† NOTE: this install script will attempt to install the nessecary dependencies for Pasithea as well as the honeypot itself. IF the installation fails, please ensure you have the latest version of java installed.

[screen]: https://help.ubuntu.com/community/Screen