Saturday, December 18, 2021

long island trip

expense

Dec 1 - phone
Dec 2 - hard drive, power bar, mouse
Dec 5 - gas
Dec 10 - hotel
Dec 12 - gas
Dec 16 - phone
Dec 18 - hotel
Dec 19 - phone
Dec 21 - car rental, gas, hotel, uber
Dec 22 - hotel, plane ticket, baggage, uber
Dec 23 - plane ticket, baggage, taxi

timesheet
Dec 1 - 8h - ferry to long island
Dec 2 - 8h - weather down
Dec 3 - 12h - survey
Dec 4 - 12h - survey
Dec 5 - 8h - survey
Dec 6 - 8h - weather down
Dec 7 - 12h - survey
Dec 8 - 8h - weather down
Dec 9 - 12h - survey
Dec 10 - 8h - weather down
Dec 11 - 8h - weather down
Dec 12 - 12h - survey
Dec 13 - 12h - survey
Dec 14 - 12h - survey
Dec 15 - 8h - weather down
Dec 16 - 8h - weather down
Dec 17 - 8h - survey
Dec 18 - 8h - weather down
Dec 19 - 12h - survey
Dec 20 - 8h - survey
Dec 21 - 8h - pcr test
Dec 22 - 8h - ferry back
Dec 23 - 8h - ferry back

James Webb Telescope



Wednesday, December 15, 2021

burp suit 4 multillidae

download multillidae @ https://github.com/webpwnized/mutillidae

#terminal
#install dependency
php -version                                                               
PHP 7.4.21 
sudo apt-get install php7.4-curl php7.4-mbstring php7.4-xml 

sudo service mysql start  

#login as root
sudo mysql -u root 

#create super user for new database
MariaDB [(none)]> CREATE USER 'dvwa'@'localhost' IDENTIFIED BY 'p@ssw0rd'; 

#grant user privilage
MariaDB [(none)]> GRANT ALL PRIVILEGES ON * . * TO 'dvwa'@'localhost';

#switch user to dvwa
MariaDB [(none)]> system mysql -u dvwa -p

#test dvwa has access to database
MariaDB [(none)]> create database a;
Query OK, 1 row affected (0.001 sec)

MariaDB [(none)]> drop database a;
Query OK, 0 rows affected (0.001 sec)

change username, password in includes/database-config
#start server
cd Downloads/mutillidae-master
php -S 127.0.0.1:80 -t .

click setup database

website is running on server
#open dbeaver
dbeaver &
database is created
reference:

mysql switch user & grant privilege