Usage Guide

User Manual: Pdf

Open the PDF directly: View PDF PDF.
Page Count: 20

!
!
!
!
Android!InsecureBankv2!Usage!Guide!
!
Author!Name!
"#$%&'!('%))*!
Email!ID!
+#$%,'-&'%))*./01#2-340!
GitHub!Link!
'))5&677/#)'89-3407+#$%&'&'%))*7:$+;4#+<
=$&%38;%>1$?@A!
Twitter!
'))5&677)B#))%;-3407"#$C,'!
! !
Usage&Guide&
!
D'#&!+4380%$)!#&!+#@#+%+!#$)4!E!51;)&6!
F- G;%1)#$/!)'%!:$+;4#+!H#;)812!"%@#3%!I:H"J!
A- K8$$#$/!)'%!913?<%$+!:$+;4L19!&%;@%;!
C- =$&)122#$/!1$+!;8$$#$/!)'%!=$&%38;%>1$?@A!1552#31)#4$!M!@#1!:NO!P#2%!
E- >8#2+#$/!1$+!;8$$#$/!)'%!=$&%38;%>1$?@A!1552#31)#4$!M!@#1!(48;3%!G4+%!
3405#21)#4$!
!
! !
Creating!the!Android!Virtual!Device!(AVD)!
!
=$!4;+%;!)4!)%&)!)'%!:$+;4#+!=$&%38;%>1$?@A!1552#31)#4$Q!B%!B#22!P#;&)!$%%+!)4!3;%1)%!1$!
:H"!P4;!1$*!:$+;4#+!+%@#3%!34$P#/8;1)#4$-!
!
()%5!F6!"4B$241+!)'%!21)%&)!@%;&#4$!4P!:$+;4#+!("O!P;40!)'%!9%24B!0%$)#4$%+!2#$?-!
!
https://developer.android.com/sdk/index.html
!
()%5!A6!R1@#/1)%!)4!)'%!!""#$!P42+%;!#$!)'%!+4B$241+%+!:$+;4#+!("O!1$+!%$)%;!)'%!9%24B!
34001$+!)4!218$3'!)'%!:$+;4#+!("O!S1$1/%;-!
!
./android
!
=$!)'%!513?1/%!);%%Q!#$&)122!)'%!34052%)%!);%%!34;;%&54$+#$/!)4!)'%!21)%&)!:$+;4#+!
@%;&#4$Q!B'#3'!#$!48;!31&%!#&!:$+;4#+!T-F-F!I:N=!AAJ-!
!
()%5!C6!U$)%;!)'%!9%24B!0%$)#4$%+!34001$+!#$!)'%!)442&!P42+%;!#$!)'%!:$+;4#+!("OQ!)4!
218$3'!)'%!:H"!S1$1/%;-!
!
./android avd
!
()%5!E6!G2#3?!4$!)'%!%&'(!')98))4$!)4!3;%1)%!1!$%B!:H"-!
!
!
()%5!T6!G;%1)%!)'%!:$+;4#+!H#;)812!"%@#3%!B#)'!)'%!34$P#/8;1)#4$&!&'4B$!#$!)'%!P4224B#$/!
&3;%%$&'4)Q!1$+!32#3?!4$!)'%!*+!98))4$-!
!
! !!
!
R4)%6!(#$3%!=$&%38;%>1$?@A!01?%&!8&%!4P!("!G1;+!)4!&)4;%!+1)1Q!01?%!&8;%!)4!34$P#/8;%!
)'%!:H"!1334;+#$/2*-!
!
()%5!V6!L18$3'!)'%!$%B2*!3;%1)%+!:H"!9*!'#/'2#/')#$/!#)&!$10%!1$+!32#3?#$/!)'%!,!(&!!
98))4$-!
!
!!
()%5!W6!G2#3?!4$!)'%!-(./01)98))4$!)4!34$)#$8%!1$+!241+!)'%!3;%1)%+!:H"-!
!
!
!
=P!)'%!:H"!3;%1)#4$!B1&!&833%&&P82Q!)'%!%0821)4;!218$3'%&!B#)'!)'%!$%B2*!3;%1)%+!:H"!
1&!&'4B$!#$!)'%!P4224B#$/!&3;%%$&'4)-!
!
!
! !
Running!the!back-end!AndroLab!server!
!
>%P4;%!5;43%%+#$/!)4!#$&)122!)'%!=$&%38;%>1$?@A!1552#31)#4$!4$!)'%!$%B2*!3;%1)%+!:H"Q!
%$&8;%!)'1)!)'%!913?<%$+!&%;@%;!#&!;8$$#$/!5;45%;2*-!D'%!913?<%$+!P4;!)'%!
=$&%38;%>1$?@A!1552#31)#4$!#&!1!&#052%!5*)'4$!&%;@%;!;8$$#$/!&#052%!X21&?!1$+!G'%;;*N*!
B%9!P;10%B4;?&-!
!
()%5!F6!"4B$241+!)'%!21)%&)!@%;&#4$!4P!=$&%38;%>1$?@A!P;40!Y#)Z89!8&#$/!)'%!9%24B!
0%$)#4$%+!34001$+!4$!)'%!)%;0#$12-!
!
$ git clone https://github.com/dineshshetty/Android-InsecureBankv2.git
!
()%5!A6!D'%!&%;@%;!34054$%$)!31$!9%!P48$+!#$!)'%!2/3&"-(4,'&5'&!P42+%;!#$!)'%!
=$&%38;%>1$?@A!5;4[%3)!&48;3%!P42+%;-!
!
! !
!
()%5!C6!=$&)122!)'%!9%24B!2#9;1;#%&!8&#$/!)'%!'($678/$!(##)5;4/;10!#$!*48;!5*)'4$!&3;#5)&!
&89+#;%3)4;*6!
P21&?!
P21&?<&\2123'%0*!
&#052%[&4$!
3'%;;*5*!
B%9-5*!
!
$ easy_install flask sqlalchemy simplejson cherrypy web.py
!
()%5!E6!R1@#/1)%!)4!)'%!2/3&"-(4,'&5'&!P42+%;!#$!)'%!+4B$241+%+!=$&%38;%>1$?@A!
5;4[%3)!&48;3%!34+%!1$+!8&%!)'%!9%24B!34001$+!)4!;8$!)'%!ZDDN!&%;@%;!4$!)'%!+%P182)!
54;)!]]]]6!
!
$ python app.py
!
D'%!9%24B!0%$)#4$%+!34001$+!31$!9%!8&%+!)4!@#%B!)'%!1@1#2192%!1;/80%$)&!P4;!)'%!
:$+;4L19!&%;@%;!34054$%$)-!
!
$ python app.py --help
! !
Installing!and!running!the!InsecureBankv2!application!–!via!APK!file!
!
^$3%!)'%!:$+;4#+!H#;)812!"%@#3%!#&!&%)!85!1$+!;8$$#$/Q!B%!31$!5;43%%+!)4!#$&)122!
=$&%38;%>1$?@A!4$!#)-!D'%!:$+;4#+!%0821)4;!'%25&!'9.#(!')1$+!!'$!!)'%!9%'1@#4;!1$+!
B4;?#$/!4P!)'%!1552#31)#4$!#$!1!@#;)812#,%+!%$@#;4$0%$)!B#)'48)!)'%!$%%+!4P!98*#$/!
%_5%$&#@%!:$+;4#+!+%@#3%&-!
!
()%5!F6!"4B$241+!)'%!21)%&)!@%;&#4$!4P!=$&%38;%>1$?@A!P;40!Y#)Z89!8&#$/!)'%!9%24B!
0%$)#4$%+!34001$+!4$!)'%!)%;0#$12-!
!
$ git clone https://github.com/dineshshetty/Android-InsecureBankv2.git
!
()%5!A6!`&#$/!)'%!(34)8)#2#)*!#$!)'%!:$+;4#+!("O!:#(!;"&9<!""#$!P42+%;Q!)'%!
=/$'0.&'>(/?5@A(:?!P#2%!P;40!)'%!+4B$241+%+!5;4[%3)!31$!9%!#$&)122%+!4$!)4!)'%!
%0821)4;-!
! !
$ adb install InsecureBankv2.apk
!
!
!
()%5!C6!L18$3'!)'%!=$&%38;%>1$?@A!1552#31)#4$!P;40!)'%!:$+;4#+!155<0%$8-!D'%!
P4224B#$/!&3;%%$&'4)!&'4B&!)'1)!=$&%38;%>1$?@A!1552#31)#4$!B1&!5;45%;2*!#$&)122%+!4$!
)'%!:$+;4#+!U0821)4;-!
!
!
!
!
()%5!E6!^$!)'%!:$+;4#+!%0821)4;Q!5;%&&!)'%!'1;+B1;%!4;!)'%!&4P)B1;%!9'/.!98))4$!1$+!
&%2%3)!)'%!B&';'&'/0'$)0%$8-!
!
!
!
()%5!T6!G4$P#/8;%!)'%!:$+;4#+!%0821)4;!)4!54#$)!)4!)'%!=N!1++;%&&!1$+!54;)!$809%;!4P!
)'%!013'#$%!4$!B'#3'!)'%!:$+;4L19!&%;@%;!#&!;8$$#$/-!G2#3?!,.498!))4!34$)#$8%-!
!
Note6!=$!)'%!31&%!4P!:$+;4#+!%0821)4;Q!CDADA@A@!54#$)&!)4!)'%!91&%!013'#$%!4$!B'#3'!)'%!
%0821)4;!#&!;8$$#$/-!
! !
!
!
()%5!V6!L4/!#$!)4!)'%!1552#31)#4$!8&#$/!%#)'%;!4P!)'%!9%24B!0%$)#4$%+!3;%+%$)#12&6!
+#$%&'7"#$%&'.FACa!
[13?7b13?.FACa!
!
!
!
()%5!W6!c'%$!34;;%3)!&%)!4P!3;%+%$)#12&!#&!%$)%;%+Q!)'%!32#3?!4P!)'%!-"E8/)98))4$!;%+#;%3)&!
)'%!8&%;!)4!)'%!P4224B#$/!&3;%%$-!
!
!
!
D'%!1552#31)#4$!#&!$4B!;%1+*!)4!9%!Z:GOU"ddd-!
!
! !
Building!and!running!the!InsecureBankv2!application!–!via!Source!
Code!compilation!
!
:$!12)%;$1)%!B1*!4P!;8$$#$/!)'%!=$&%38;%>1$?@A!1552#31)#4$!#&!9*!3405#2#$/!)'%!21)%&)!
@%;&#4$!4P!)'%!&48;3%!34+%!P;40!)'%!Y#)Z89!;%54&#)4;*-!D'%!&48;3%!34+%!4P!)'%!5;4[%3)!#&!
#$!98#2)<;%1+*!P4;01)!1$+!31$!9%!+#;%3)2*!#054;)%+!#$)4!)'%!21)%&)!@%;&#4$!4P!:$+;4#+!
()8+#4-!
!
()%5!F6!"4B$241+!)'%!21)%&)!@%;&#4$!4P!:$+;4#+!()8+#4!P;40!)'%!9%24B!0%$)#4$%+!2#$?-!
!
https://developer.android.com/sdk/index.html
!
Note6!D'%!38;;%$)!98#2+!4P!=$&%38;%>1$?@A!#&!;%1+*!)4!9%!#054;)%+!#$)4!:$+;4#+!()8+#4!
F-A-A-!
!
()%5!A6!"4B$241+!)'%!21)%&)!@%;&#4$!4P!=$&%38;%>1$?@A!P;40!Y#)Z89!8&#$/!)'%!9%24B!
0%$)#4$%+!34001$+!4$!)'%!)%;0#$12-!
!
$ git clone https://github.com/dineshshetty/Android-InsecureBankv2.git
!
()%5!C6!L18$3'!:$+;4#+!()8+#4!1$+!32#3?!4$!)'%!*:'/)(/)'F8$!8/E)2/3&"83),!.38"):&"G'0!)
45)#4$-!
!
!
!
()%5!E6!(%2%3)!)'%!P42+%;!=$&%38;%>1$?@A!P;40!)'%!+4B$241+%+!5;4[%3)!P42+%;-!
!
! !
!
()%5!T6!!:224B!Y;1+%!)4!98#2+!)'%!34052%)%!5;4[%3)!1$+!;%&42@%!122!)'%!+%5%$+%$3#%&-!
H%;#P*!)'1)!)'%!98#2+!B1&!&833%&&P82-!
!
!
!
!
()%5!V6!G2#3?!4$!)'%!H./)98))4$!'#/'2#/')%+!#$!)'%!P4224B#$/!&3;%%$&'4)-!
!
!
!
!
()%5!W6!(%2%3)!)'%!%0821)4;!4;!+%@#3%!P4;!)'%!=$&%38;%>1$?@A!)4!9%!;8$!4$-!
!
! !
Note6!=$!31&%!*48!+4!$4)!'1@%!1$*!:H"&e!9*!+%P182)!4$!)'%!("OQ!8&%!)'%!#$P4;01)#4$!
P;40!)'%!%&'(!8/E)!1')2/3&"83)I8&!.(#)J'580')K2IJL)&%3)#4$!4P!)'#&!+4380%$)!)4!3;%1)%!
$%B!@#;)812!+%@#3%&!)4!;8$!)'%!:$+;4#+!=$&%38;%>1$?@A!1552#31)#4$!4$-!
!
D'%!P4224B#$/!&3;%%$&'4)!&'4B&!)'%!=$&%38;%>1$?@A!1552#31)#4$!;8$$#$/!4$!1$!:$+;4#+!
%0821)4;-!
!
!

Navigation menu