dsad
This commit is contained in:
47
vuln-lab/web/www/backup.sql
Normal file
47
vuln-lab/web/www/backup.sql
Normal file
@@ -0,0 +1,47 @@
|
||||
-- MySQL dump 10.13 Distrib 8.0.35
|
||||
-- Server version: 10.11.6-MariaDB
|
||||
-- Host: db Database: newploit
|
||||
|
||||
SET NAMES utf8;
|
||||
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
DROP TABLE IF EXISTS `users`;
|
||||
CREATE TABLE `users` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`username` varchar(64) NOT NULL,
|
||||
`password` varchar(128) NOT NULL,
|
||||
`email` varchar(128) NOT NULL,
|
||||
`role` varchar(32) NOT NULL DEFAULT 'user',
|
||||
`api_key` varchar(128) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
LOCK TABLES `users` WRITE;
|
||||
INSERT INTO `users` VALUES
|
||||
(1,'admin','admin123','admin@insecure.newploit.com','admin','sk_admin_AKIAIOSFODNN7EXAMPLE'),
|
||||
(2,'root','toor','root@insecure.newploit.com','admin','sk_root_deadbeefcafebabe'),
|
||||
(3,'user','password','user@insecure.newploit.com','user','sk_user_abc123'),
|
||||
(4,'test','test','test@insecure.newploit.com','user','sk_test_xyz789'),
|
||||
(5,'imtaqin','newploit2024','taqin@insecure.newploit.com','admin','sk_tq_pocketpentester'),
|
||||
(6,'guest','guest','guest@insecure.newploit.com','guest',NULL);
|
||||
UNLOCK TABLES;
|
||||
|
||||
DROP TABLE IF EXISTS `products`;
|
||||
CREATE TABLE `products` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(128) NOT NULL,
|
||||
`category` varchar(64) DEFAULT NULL,
|
||||
`price` decimal(10,2) DEFAULT NULL,
|
||||
`description` text,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
INSERT INTO `products` VALUES
|
||||
(1,'Pentest Laptop','hardware',2599.00,'Rugged laptop for offensive research'),
|
||||
(2,'YubiKey','hardware',49.00,'Hardware FIDO2 authenticator'),
|
||||
(3,'Burp Pro','software',499.00,'Web app testing'),
|
||||
(4,'Newploit Pro','subscription',29.99,'Monthly subscription for cloud scanners'),
|
||||
(5,'Ghidra Cloud','subscription',99.00,'RE-as-a-service for mobile pentesting');
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
|
||||
-- Dump completed on 2024-07-01 09:14:22
|
||||
Reference in New Issue
Block a user