Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa3f4a7

Browse files
author
Esben Sparre Andreasen
committed
JS: change passwords in tests
1 parent 526c123 commit aa3f4a7

5 files changed

Lines changed: 98 additions & 90 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
| mysql-config.json:4:16:4:23 | "secret" | Hard-coded password 'secret' in configuration file. |
1+
| mysql-config.json:4:16:4:25 | "abcdefgh" | Hard-coded password 'abcdefgh' in configuration file. |
22
| tst4.json:2:10:2:38 | "script ... ecret'" | Hard-coded password ''secret'' in configuration file. |
33
| tst7.yml:2:9:2:6 | \| | Hard-coded password 'abc' in configuration file. |
4+
| tst.yml:7:11:7:19 | change_me | Hard-coded password 'change_me' in configuration file. |
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"host" : "localhost",
33
"user" : "me",
4-
"password" : "secret",
4+
"password" : "abcdefgh",
55
"database" : "my_db"
6-
}
6+
}

javascript/ql/test/query-tests/Security/CWE-313/tst.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ steps:
44
OTHER_PASSWORD=`get password` yarn install
55
username: <%= ENV['USERNAME'] %>
66
password: <%= ENV['PASSWORD'] %>
7+
password: change_me

0 commit comments

Comments
 (0)