A memo app containing multiple vulnerabilities.
Fuzzing Framework shfz is set in this repository, and you can fork this and try fuzzing.
check scenario and Actions workflow.
- Fork this repository.
- Go to
Settings
->General
->Features
-> enableIssues
.
- Go to
Actions
-> enable workflows.
- Go to
Actions
->Workflows
->All workflows
->fuzzing
, clickRun workflow
button, selectBranch: main
, and click greenRun workflow
button.
- Fuzzing is started, and report is posted on issue.
$ docker-compose build
$ docker-compose up -d
Database does not respond to initialization processing for about 30 seconds after startup.
- build to image
$ docker-compose build
- run containers
$ docker-compose up -d
- stop containers
$ docker-compose stop
- delete containers
$ docker-compose rm
- show logs
$ docker-compose logs
- rebuild and restart service
$ docker-compose stop
$ docker-compose rm
$ docker-compose build
$ docker-compose up -d
- When initializing the database (Erase all data, Change schema, Change username and password)
$ docker-compose stop
$ docker-compose rm
$ rm -rf ./db/data
$ docker-compose up -d
- connect
# install mysql-client
$ sudo apt install -y mysql-client
# connect mysql
$ mysql -u root -p -h 127.0.0.1 -P 3306 --protocol=tcp
Enter password:
- query
mysql> use flask_db;
mysql> insert into users (username, password) values ('test', '111111');
mysql> select * from users;
+----+----------+----------+
| id | username | password |
+----+----------+----------+
| 1 | test | 111111 |
+----+----------+----------+
mysql> insert into memos (user, title, text) values ('test', 'test-memo', 'test{this_is_test_memo}');
mysql> select * from memos;
+----+------+-----------+-------------------------+
| id | user | title | text |
+----+------+-----------+-------------------------+
| 1 | test | test-memo | test{this_is_test_memo} |
+----+------+-----------+-------------------------+