diff --git a/monkey_island/windows/clear_db.bat b/monkey_island/windows/clear_db.bat index af6d4ec73..8597f3d32 100644 --- a/monkey_island/windows/clear_db.bat +++ b/monkey_island/windows/clear_db.bat @@ -1,5 +1,4 @@ @echo Are you sure? (Press Any Key) @pause @rmdir /s /q db -@mkdir db -@pause \ No newline at end of file +@mkdir db \ No newline at end of file diff --git a/monkey_island/windows/create_certificate.bat b/monkey_island/windows/create_certificate.bat index a9372132d..ac6555f0b 100644 --- a/monkey_island/windows/create_certificate.bat +++ b/monkey_island/windows/create_certificate.bat @@ -1,4 +1,3 @@ bin\openssl\openssl.exe genrsa -out cc\server.key 1024 bin\openssl\openssl.exe req -new -config bin\openssl\openssl.cfg -key cc\server.key -out cc\server.csr -subj "/C=GB/ST=London/L=London/O=Global Security/OU=Monkey Department/CN=monkey.com" -bin\openssl\openssl.exe x509 -req -days 366 -in cc\server.csr -signkey cc\server.key -out cc\server.crt -pause \ No newline at end of file +bin\openssl\openssl.exe x509 -req -days 366 -in cc\server.csr -signkey cc\server.key -out cc\server.crt \ No newline at end of file diff --git a/monkey_island/windows/run_cc.bat b/monkey_island/windows/run_cc.bat index 0190b235d..c16c9fc6b 100644 --- a/monkey_island/windows/run_cc.bat +++ b/monkey_island/windows/run_cc.bat @@ -1,4 +1,4 @@ @title C^&C Server -@cd cc +@pushd cc @..\bin\Python27\python main.py -@pause \ No newline at end of file +@popd \ No newline at end of file diff --git a/monkey_island/windows/run_mongodb.bat b/monkey_island/windows/run_mongodb.bat index ef8876980..ca33c22d7 100644 --- a/monkey_island/windows/run_mongodb.bat +++ b/monkey_island/windows/run_mongodb.bat @@ -1,3 +1,2 @@ @title MongoDB -@bin\mongodb\mongod.exe --dbpath db -@pause \ No newline at end of file +@bin\mongodb\mongod.exe --dbpath db \ No newline at end of file