forked from OWASP/ASST
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_php_lang.js
24 lines (20 loc) · 1.63 KB
/
config_php_lang.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = {
// You should have PHP Binary installed somewhere, XAMPP works!
// XAMPP PHP Binary for linux is located in /opt/lampp/bin/php
// XAMPP PHP Binary for MacOSX is located in /Applications/XAMPP/bin/php
PHP_EXE_BIN_PATH: "C:\\xampp\\php\\php.exe", // Currently set for Windows // leave it empty "" if not set (if you don't have PHP binary)
// is web app using DBMS?
IS_DBMS_USED: true, // true or false // DBMS System must be installed, for an example: for MySQL, XAMPP works great.
DBMS: "mysql", // only MySQL Supported for Now! // might use PostgreSQL or other DBMS in the future but not implemented for now.
// if above IS_DBMS_USED = true, bellow settings are enabled and must be set
YOUR_WEBAPP_DBMS_SERVER_IP: "127.0.0.1", // or localhost // or other ip
YOUR_WEBAPP_DBMS_DB_NAME: "your_project_database_name",
YOUR_WEBAPP_DBMS_USERNAME: "root",
YOUR_WEBAPP_DBMS_PASSWORD: "",
YOUR_WEBAPP_DBMS_USER_TABLE_NAME: "user",
YOUR_WEBAPP_DBMS_USER_TABLE_PASSWORD_COLUMN_NAME: "password_hash",
YOUR_WEBAPP_DBMS_USER_TABLE_SALT_COLUMN_NAME: "salt", // if not existed or used bcrypt or don't know what it is, leave it empty text: ""
YOUR_WEBAPP_DBMS_ADMIN_TABLE_NAME: "admin", // maybe same of user table, so write same table name // if hardcoded admin credentials or doesn't exist, leave it empty text: ""
YOUR_WEBAPP_DBMS_ADMIN_TABLE_PASSWORD_COLUMN_NAME: "password_hash", // maybe same of user table, so write same column name
YOUR_WEBAPP_DBMS_ADMIN_TABLE_SALT_COLUMN_NAME: "salt", // if not existed or used bcrypt or don't know what it is, leave it empty text: "" // maybe same of user table, so write same column name
};