@@ -15,75 +15,91 @@ <h3 class=" text-white">Mobile threat intelligence for the masses</h3>
1515 </ div >
1616 </ div >
1717
18- {# Search form #}
1918 < div class ="row justify-content-center mt-2 ">
20- < div class ="col-md-12 mt-2 mb-2 ">
21- < form class ="form-horizontal text-center " method ="get ">
22- < div class ="input-group ">
23- {% if q %}
24- < input type ="text " name ="q " class ="form-control " required value ="{{ q }} ">
25- {% else %}
26- < input type ="text " name ="q " class ="form-control " required placeholder ="Your query ">
27- {% endif %}
28- < div class ="input-group-append ">
29- < button class ="btn btn-primary " type ="submit "> < i class ="nf nf-oct-search "> </ i > </ button >
19+ {# Search or upload file or download from URL #}
20+ < div class ="col-md-8 mt-2 mb-2 ">
21+ < ul class ="nav justify-content-center nav-pills mb-1 " id ="menu-tabs ">
22+ < li class ="nav-item ">
23+ < a class ="nav-link text-white " data-toggle ="pill " href ="#search " role ="tab "
24+ id ="search-tab " aria-controls ="search " aria-selected ="true ">
25+ Search
26+ </ a >
27+ </ li >
28+ < li class ="nav-item ">
29+ < a class ="nav-link text-white " data-toggle ="pill " href ="#upload " role ="tab "
30+ id ="upload-tab " aria-controls ="upload " aria-selected ="true ">
31+ File
32+ </ a >
33+ </ li >
34+ < li class ="nav-item ">
35+ < a class ="nav-link text-white " data-toggle ="pill " href ="#url_download " role ="tab "
36+ id ="url_download-tab " aria-controls ="url_download " aria-selected ="true ">
37+ URL
38+ </ a >
39+ </ li >
40+ </ ul >
41+ < div class ="row justify-content-center ">
42+ < div class ="col-md-12 tab-content ">
43+ < div class ="tab-pane " role ="tabpanel " aria-labelledby ="search-tab " id ="search ">
44+ < form class ="form-horizontal text-center " method ="get ">
45+ < div class ="input-group ">
46+ {% if q %}
47+ < input type ="text " name ="q " class ="form-control " required value ="{{ q }} ">
48+ {% else %}
49+ < input type ="text " name ="q " class ="form-control " required placeholder ="Your query ">
50+ {% endif %}
51+ < div class ="input-group-append ">
52+ < button class ="btn btn-primary " type ="submit "> < i class ="nf nf-oct-search "> </ i > </ button >
53+ </ div >
54+ </ div >
55+ < div class ="control-group mt-1 ">
56+ < div class ="controls ">
57+ {% include "front/m_search_help.html" %}
58+ {% if request.user.is_authenticated and q|length > 0 and false %}
59+ {% include "front/m_search_save.html" %}
60+ {% endif %}
61+ </ div >
62+ </ div >
63+ </ form >
3064 </ div >
31- </ div >
32- < div class ="control-group mt-1 ">
33- < div class ="controls ">
34- {% include "front/m_search_help.html" %}
35- {% if request.user.is_authenticated and q|length > 0 and false %}
36- {% include "front/m_search_save.html" %}
37- {% endif %}
38- </ div >
39- </ div >
40- </ form >
41- </ div >
42- </ div >
43- < div class ="row justify-content-center mt-2 ">
44- < div class ="col-md-6 mt-2 mb-2 ">
45- < form class ="form-horizontal text-center " method ="post " action ="{% url "front:basic_upload " %}"
46- enctype="multipart/form-data "> {% csrf_token %}
47- < div class ="custom-file ">
48- < input type ="file " class ="custom-file-input " id ="file_upload_selector " name ="apk ">
49- < label class ="custom-file-label " for ="file_upload_selector "> APK to be analyzed ({{ max_size|filesizeformat }}
50- max.)</ label >
51- </ div >
52- < div class ="control-group mt-1 ">
53- < div class ="controls ">
54- < button type ="submit " class ="btn btn-primary " id ="upload_btn ">
55- Upload
56- </ button >
57- < a href ="# " id ="show_report_btn " style ="display: none " class ="btn btn-primary ">
58- Show report
59- </ a >
65+ < div class ="tab-pane " role ="tabpanel " aria-labelledby ="upload-tab " id ="upload ">
66+ < form class ="form-horizontal text-center " method ="post " action ="{% url "front:basic_upload " %}"
67+ enctype="multipart/form-data "> {% csrf_token %}
68+ < div class ="custom-file ">
69+ < input type ="file " class ="custom-file-input " id ="file_upload_selector " name ="apk ">
70+ < label class ="custom-file-label " for ="file_upload_selector "> APK to be analyzed
71+ ({{ max_size|filesizeformat }}
72+ max.)</ label >
73+ </ div >
74+ < div class ="control-group mt-1 ">
75+ < div class ="controls ">
76+ < button type ="submit " class ="btn btn-primary " id ="upload_btn ">
77+ Upload
78+ </ button >
79+ < a href ="# " id ="show_report_btn " style ="display: none " class ="btn btn-primary ">
80+ Show report
81+ </ a >
82+ </ div >
83+ </ div >
84+ </ form >
6085 </ div >
61- </ div >
62- </ form >
63- </ div >
64- < div class ="row justify-content-center mt-2 ">
65- < div class ="col-md-6 mt-2 mb-2 ">
66- < form class ="form-horizontal text-center " method ="post " action ="{% url "front:basic_url_download " %}"
67- enctype="multipart/form-data "> {% csrf_token %}
68- < div class ="custom-url ">
69- < input type ="text " id ="url " name ="url ">
70- < label for ="url "> URL to the APK</ label >
71- </ div >
72- < div class ="control-group mt-1 ">
73- < div class ="controls ">
74- < button type ="submit " class ="btn btn-primary ">
75- Analyze
86+ < div class ="tab-pane " role ="tabpanel " aria-labelledby ="url_download-tab " id ="url_download ">
87+ < form class ="form text-center " method ="post " action ="{% url "front:basic_url_download " %}"
88+ enctype="multipart/form-data ">
89+ {% csrf_token %}
90+ < input class ="form-control " type ="text " id ="url " name ="url " placeholder ="URL to be downloaded ">
91+ < button type ="submit " class ="btn btn-primary mt-1 ">
92+ Download and analyze
7693 </ button >
77- </ div >
94+ </ form >
7895 </ div >
79- </ form >
96+ </ div >
8097 </ div >
81-
8298 </ div >
8399 </ div >
84100
85101
86- < div class ="row justify-content-center ">
102+ < div class ="row justify-content-center mt-3 ">
87103 < div class ="col text-center ">
88104 Try a real life example of Pithus on TryHackMe: < a href ="https://tryhackme.com/room/androidmalwareanalysis "> Android
89105 Malware Analysis</ a >
0 commit comments