File | Date | Author | Commit |
---|---|---|---|
Backend | 2020-07-04 | Your Name | [012700] fix regex bug in rules, add error handler |
Frontend | 2020-07-04 | Your Name | [012700] fix regex bug in rules, add error handler |
doc | 2019-12-13 | CoolerVoid | [70c818] update doc and change imgs |
.gitattributes | 2019-11-10 | CoolerVoid | [3c3138] Insert papers to explain the project |
LICENSE | 2019-11-10 | Cooler_ | [da2610] Initial commit |
readme.md | 2019-12-13 | Cooler_ | [e3aca8] Update readme.md |
CodeCat is a open source tool to help you in static code analysis, to find/track sinks and bugs, this points follow regex rules...
Current rules for C,C++,GO,Python,javascript,Swift,PHP,Ruby,ASP and Java.(you can create your rules)
Go to CodeCat directory, install backend and frontend libs:
$ cd Front
$ sudo python3 -m pip install -r requirements.txt
$ cd ..
$ cd Backend
$ sudo python3 -m pip install -r requirements.txt
Run backend and frontend...
$ cd Codecat
$ cd Frontend; python3 wsgi.py &
$ cd ..
$ cd Backend; python3 wsgi.py &
Next step you need save your user to login:
$ curl -i -X POST -H "Content-Type: application/json" -d '{"email":"admin2@test.com","username":"admin","password":"rubrik123"}' https://127.0.0.1:5001/api/users -k
This end point /api/users, run only one time in first deploy, if you try to send request again to insert user, the endpoint return 404... is for security.
Go to this following "https://127.0.0.1:9093/front/auth/".
Now you can enter in this system auth, use login "admin", pass "rubrik123".
Note About TLS: You can configure and load your TLS cert in "wsgi.py".
Please study the doc.
https://github.com/CoolerVoid/codecat/blob/master/doc/raptor.pdf
github.com/CoolerVoid
Antonio Costa - coolerlair@gmail.com