Browse Source

added portscan to records and statistics

Alexander Brakowski 10 years ago
parent
commit
94b25340ea

+ 1 - 0
res/values-de/protocols.xml

@@ -12,6 +12,7 @@
         <item>SMB</item>
         <item>SSH</item>
         <item>TELNET</item>
+
     </string-array>
 
     <string-array name="protocols_description">

+ 2 - 0
src/de/tudarmstadt/informatik/hostage/ui2/fragment/RecordOverviewFragment.java

@@ -1083,6 +1083,8 @@ public class RecordOverviewFragment extends UpNavigatibleFragment implements Che
 				R.array.protocols)) {
 			titles.add(protocol);
 		}
+
+		titles.add("PORTSCAN");
 		return titles;
 	}
     /**Return a boolean array of the selected / filtered protocols. If the filter object has

+ 4 - 1
src/de/tudarmstadt/informatik/hostage/ui2/fragment/StatisticsFragment.java

@@ -1566,7 +1566,10 @@ public class StatisticsFragment extends Fragment implements ChecklistDialog.Chec
                 R.array.protocols)) {
             titles.add(protocol);
         }
-        return titles;
+
+	    titles.add("PORTSCAN");
+
+	    return titles;
     }
     /**
     * Returns a boolean array containing a bool value for each protocol. If the value is true, the filter object contains the protocol.