Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/tools
diff options
context:
space:
mode:
authorimhameed <imhameed@microsoft.com>2021-03-12 23:26:13 +0300
committerGitHub <noreply@github.com>2021-03-12 23:26:13 +0300
commit79b6e3f256a59ede74596ce82547f320bf1e9a99 (patch)
treed498fc753633606680e2440a8dce82c93f74cda8 /mcs/tools
parente4004885c0344e6c5a83831549666b28a1ce74d8 (diff)
CredScan: replace some benign passwords with [PLACEHOLDER] (#20915)
* CredScan: replace some benign passwords with [PLACEHOLDER] * s/\blinq2\b/[PLACEHOLDER]/g * Remove mcs/class/System.Data.Linq/examples/DbLinq.Ingres.Example/Program.cs from the CredScan suppression file; the "password" has been replaced by a CredScan-friendly placeholder
Diffstat (limited to 'mcs/tools')
-rw-r--r--mcs/tools/sqlmetal/src/DbMetal/run_ingMetal.bat2
-rw-r--r--mcs/tools/sqlmetal/src/DbMetal/run_myMetal.bat2
-rw-r--r--mcs/tools/sqlmetal/src/DbMetal/run_oraMetal.bat4
-rw-r--r--mcs/tools/sqlmetal/src/DbMetal/run_pgMetal.bat2
-rw-r--r--mcs/tools/sqlmetal/src/DbMetal/run_sqliteMetal.bat2
5 files changed, 6 insertions, 6 deletions
diff --git a/mcs/tools/sqlmetal/src/DbMetal/run_ingMetal.bat b/mcs/tools/sqlmetal/src/DbMetal/run_ingMetal.bat
index 1c4a7297399..b8f5260a4bd 100644
--- a/mcs/tools/sqlmetal/src/DbMetal/run_ingMetal.bat
+++ b/mcs/tools/sqlmetal/src/DbMetal/run_ingMetal.bat
@@ -1,3 +1,3 @@
-bin\DbMetal.exe -user:LinqUser -database:Northwind -server:localhost -password:linq2 -namespace:nwind -Provider=Ingres /entityInterfaces=IModified /pluralize /sprocs
+bin\DbMetal.exe -user:LinqUser -database:Northwind -server:localhost -password:[PLACEHOLDER] -namespace:nwind -Provider=Ingres /entityInterfaces=IModified /pluralize /sprocs
diff --git a/mcs/tools/sqlmetal/src/DbMetal/run_myMetal.bat b/mcs/tools/sqlmetal/src/DbMetal/run_myMetal.bat
index 36388c49930..ae877682736 100644
--- a/mcs/tools/sqlmetal/src/DbMetal/run_myMetal.bat
+++ b/mcs/tools/sqlmetal/src/DbMetal/run_myMetal.bat
@@ -1,5 +1,5 @@
REM: note that the '-sprocs' option is turned on
-bin\DbMetal.exe -provider=MySql -database:Northwind -server:localhost -user:LinqUser -password:linq2 -namespace:nwind -code:Northwind.cs -sprocs
+bin\DbMetal.exe -provider=MySql -database:Northwind -server:localhost -user:LinqUser -password:[PLACEHOLDER] -namespace:nwind -code:Northwind.cs -sprocs
diff --git a/mcs/tools/sqlmetal/src/DbMetal/run_oraMetal.bat b/mcs/tools/sqlmetal/src/DbMetal/run_oraMetal.bat
index d28441124f4..4eb9aa0be53 100644
--- a/mcs/tools/sqlmetal/src/DbMetal/run_oraMetal.bat
+++ b/mcs/tools/sqlmetal/src/DbMetal/run_oraMetal.bat
@@ -1,5 +1,5 @@
REM ##
-REM OracleMetal.exe -user:LinqUser -server:localhost -password:linq2 -namespace:nwind -renamesFile:oraFieldRenames.xml
+REM OracleMetal.exe -user:LinqUser -server:localhost -password:[PLACEHOLDER] -namespace:nwind -renamesFile:oraFieldRenames.xml
-bin\DbMetal.exe -user:Northwind -database:Northwind -server:localhost -password:linq2 -namespace:nwind -renamesFile:oraFieldRenames.xml
+bin\DbMetal.exe -user:Northwind -database:Northwind -server:localhost -password:[PLACEHOLDER] -namespace:nwind -renamesFile:oraFieldRenames.xml
diff --git a/mcs/tools/sqlmetal/src/DbMetal/run_pgMetal.bat b/mcs/tools/sqlmetal/src/DbMetal/run_pgMetal.bat
index 08435cba2b9..52d0a8f0667 100644
--- a/mcs/tools/sqlmetal/src/DbMetal/run_pgMetal.bat
+++ b/mcs/tools/sqlmetal/src/DbMetal/run_pgMetal.bat
@@ -1 +1 @@
-bin\DbMetal.exe /provider=PostgreSql /code=Northwind.cs -user:LinqUser -database:northwind -server:%%DbLinqServer??localhost -password:linq2 -namespace:nwind -renamesFile:pgsqlFieldRenames.xml -sprocs
+bin\DbMetal.exe /provider=PostgreSql /code=Northwind.cs -user:LinqUser -database:northwind -server:%%DbLinqServer??localhost -password:[PLACEHOLDER] -namespace:nwind -renamesFile:pgsqlFieldRenames.xml -sprocs
diff --git a/mcs/tools/sqlmetal/src/DbMetal/run_sqliteMetal.bat b/mcs/tools/sqlmetal/src/DbMetal/run_sqliteMetal.bat
index 75b6dbd0c45..93c42219e8e 100644
--- a/mcs/tools/sqlmetal/src/DbMetal/run_sqliteMetal.bat
+++ b/mcs/tools/sqlmetal/src/DbMetal/run_sqliteMetal.bat
@@ -7,7 +7,7 @@ type ..\Example\DbLinq.SQLite.Example\sql\create_Northwind.sql | sqlite3 Northwi
type ..\Example\DbLinq.SQLite.Example\sql\create_AllTypes.sql | sqlite3 Northwind.db3
REM: note that the '-sprocs' option is turned on
-REM MySqlMetal.exe -database:Northwind -server:localhost -user:LinqUser -password:linq2 -namespace:nwind -dbml:nwind_mysql.dbml -sprocs
+REM MySqlMetal.exe -database:Northwind -server:localhost -user:LinqUser -password:[PLACEHOLDER] -namespace:nwind -dbml:nwind_mysql.dbml -sprocs
bin\SQLiteMetal.exe -database:Northwind.db3 -namespace:nwind -code:Northwind.cs
pause