Skip to content

iyochan32/securitywargame

Repository files navigation

report update-cve summary

http://puu.sh/fl2G7/a0a4df2dba.jpg

note -> /add-step will request one more parameter -> 'cve_id'

update some UI but still in text-mode

working in progress...

bring back machineID

polish graph profile

http://puu.sh/fksKL/ff11394e59.jpg

report update

/overall-report
after login with admin account

result should be like this -> http://puu.sh/fda0F/a0762b578e.jpg

note:

  1. module for calculate impact and score not found.
  2. map name not found.

postGraph update

postGraph not required any machineID , serviceID, and PathID but api_key machineID in { services } was changed to -> machineName

example was here... https://www.getpostman.com/collections/56d025ad6cd5e8206f1b result will be like this... http://puu.sh/f0euV/2ac2c203cf.jpg

api key is needed when adding new graph

get one from /api (afte register new admin account)

example : http://puu.sh/eZJVP/0dfd8405af.jpg

user : { player -> ('/'), admin -> ('/admin') }

player will be force to login with their facebook account to play game. admin need to be regis for a new one. to access graph management dashboard.

http://puu.sh/eSa1V/b7c0fe1939.jpg

renovate all user's tools and report document

#ADD TEST USER Method : GET
Url : /create-dummy-user
Parameter :
user_id -> int(required)
username -> string

Result should look like this
http://puu.sh/cZgRy/c1b4e67480.jpg

#LOGIN TEST USER Method : GET
Url : /bypass-login
Parameter :
user_id -> int(required)

Result should look like this
http://puu.sh/cZgOx/2eac4598e4.jpg

#UI Graph-> CRETAE -> EDIT -> GET

create graph using
url => /create-graph full path-> http://cyber-security-war-game.appspot.com/create-graph

edit graph using
url => /edit-graph?id=[graphID] you may need to refresh after add new Machine or Service for silly select ID box

get graph using url => /get-graph?id=[graphID] return object dict as json format

Post JSON Body -> /postGraph
Example Test Data:

{
"name" : "testGraph1"
"machines": [{ "machineID" : 1, "name": "m_name1", "status" : "m_status1", "impact" : "1" },{ "machineID" : 1,
"name": "m_name2", "status" : "m_status2", "impact" : "2" }],
"services" : [{ "serviceID": 1, "name": "s_name1", "status": "s_status1", "impact" : "1", "machineID": 1},
{ "serviceID": "2", "name": "s_name2", "status": "s_status2", "impact" : "2", "machineID": "2"}]
"paths" : [{ "pathID" : "1" , "name" : "path_1", "status" : "p_stat", "src" : "1", "dest" : "2", "av": "1", "ac" :
"1", "au": "1", "ci": "1", "ii" : "1", "ai" : "1"},
{ "pathID" : "2", "name" : "path_2", "status" : "p_stat2", "src" : "1", "dest" : "2", "av": "1", "ac" : "1", "au":
"1", "ci": "1", "ii" : "1", "ai" : "1" }]
}

Result:
http://puu.sh/cTgEe/8f7c3c0869.jpg

Test Via PostMan

About

ma senior project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors