Skip to content

Commit acbd8d0

Browse files
author
Chaim Sanders
committed
Inital commit
1 parent 2bf3b9e commit acbd8d0

File tree

5 files changed

+462
-0
lines changed

5 files changed

+462
-0
lines changed

BoS/css/main.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#bodyWrapper {
2+
position:relative;
3+
margin-left:auto;
4+
margin-right:auto;
5+
top: 20px;
6+
width:75%;
7+
background-color: #CCCCCC;
8+
}
9+
#topNavigation{
10+
position: relative;
11+
left: 75%;
12+
}
13+
#helpNav{
14+
position: relative;
15+
left: 75%;
16+
top: 10%;
17+
}
18+
#search{
19+
position: relative;
20+
left: 90%;
21+
top: 0%;
22+
}
23+
#headerContainer{
24+
height:225px;
25+
background-color: #FFFFFF;
26+
}
27+
28+
#bigContent{
29+
height:300px;
30+
background-color: #F7F6F4;
31+
}
32+
33+
#separator{
34+
height:10px;
35+
background-color: #CFC6BF;
36+
}
37+
#littleContent{
38+
height:225px;
39+
background-color: #F7F2EF;
40+
}
41+
#Informationals{
42+
height:225px;
43+
background-color: #FFFFFF;
44+
}
45+
Informationals

BoS/index.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<html>
2+
<head>
3+
<title>Bank Of SPARSA</title>
4+
<link href="./css/main.css" rel="stylesheet">
5+
</head>
6+
<body>
7+
<div id="bodyWrapper">
8+
<div id="headerContainer">
9+
<div id="logo">Bank Of Sparsa</div>
10+
<div id="topNavigation">Personal | Small Business | Wealth Management | Business & Institutions</div>
11+
<div id="helpNav">Locations | Contact Us | Help | En espanol</div>
12+
<div id="search"><input type="text" id="searchBar"></div>
13+
</div>
14+
<div id="contentContainer">
15+
<div id="signin"></div>
16+
Secure Sign-in
17+
<input type="text" id="username">
18+
<input type="Text" id="password">
19+
<input type="checkbox" id="saveme">
20+
Forgot ID | Forgot Passcode
21+
<div id="offers"></div>
22+
Information for: <input type="dropdown">Select a state
23+
<div id="bigContent"></div>
24+
<div id="separator"></div>
25+
<div id="littleContent"></div>
26+
</div>
27+
<div id="Informationals">Locations | Contact Us | Help | Careers | Privacy & Security</div>
28+
<div id="copyright">Copyright</div>
29+
</div>
30+
</body>
31+
</html>

example.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import requests
2+
import json
3+
import sys # for testing
4+
5+
url = "http://127.0.0.1:5000"
6+
7+
args = {}
8+
args['username'] = "ists_whiteteam"
9+
loc = "/getSecondFactor"
10+
data = {"key":"value"}
11+
response = requests.post(url+loc,data=args)
12+
decodedOut = json.loads(response.text)
13+
14+
if isinstance(decodedOut, dict):
15+
print decodedOut['SessionID']
16+
else:
17+
print decodedOut
18+
19+
sys.exit()
20+
args = {}
21+
args['username'] = "ists_whiteteam"
22+
args['password'] = "test"
23+
loc = "/getSession"
24+
data = {"key":"value"}
25+
response = requests.post(url+loc,data=args)
26+
decodedOut = json.loads(response.text)
27+
28+
if isinstance(decodedOut, dict):
29+
print decodedOut['SessionID']
30+
else:
31+
print decodedOut
32+

0 commit comments

Comments
 (0)