From d91953383efefa37753be3359af570b85f1c1dbc Mon Sep 17 00:00:00 2001 From: Aidan Holland Date: Mon, 4 Feb 2019 21:32:07 -0500 Subject: [PATCH] attack --- res/values/strings.xml | 2 ++ src/com/offsec/nethunter/DuckHunterFragment.java | 2 +- src/com/offsec/nethunter/HidFragment.java | 2 +- src/com/offsec/nethunter/ManaFragment.java | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index deffe3c..5c329f7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -216,6 +216,7 @@ Unknown Status: Nethunter is licensed under the GPLv2 and source is available at github.com/offensive-security. Some icons are licensed from Google, Inc. under CC BY 4.0. Android-WVersionManager and jTar is licensed under Apache 2.0. + Attack launched! Home @@ -394,4 +395,5 @@ Boot Notification for run at boot services + diff --git a/src/com/offsec/nethunter/DuckHunterFragment.java b/src/com/offsec/nethunter/DuckHunterFragment.java index be5b03b..f53ab7a 100644 --- a/src/com/offsec/nethunter/DuckHunterFragment.java +++ b/src/com/offsec/nethunter/DuckHunterFragment.java @@ -175,7 +175,7 @@ public boolean onOptionsItemSelected(final MenuItem item) { } } start(); - v.post(() -> nh.showMessage("Attack launched!")); + v.post(() -> nh.showMessage(getString(R.string.attack_launched))); }).start(); return true; diff --git a/src/com/offsec/nethunter/HidFragment.java b/src/com/offsec/nethunter/HidFragment.java index e428f2e..dee6018 100644 --- a/src/com/offsec/nethunter/HidFragment.java +++ b/src/com/offsec/nethunter/HidFragment.java @@ -207,7 +207,7 @@ private void start() { break; } } - nh.showMessage("Attack launched..."); + nh.showMessage(getString(R.string.attack_launched)); new Thread(() -> { ShellExecuter exe = new ShellExecuter(); exe.RunAsRoot(command); diff --git a/src/com/offsec/nethunter/ManaFragment.java b/src/com/offsec/nethunter/ManaFragment.java index 6715ae6..c8880a9 100644 --- a/src/com/offsec/nethunter/ManaFragment.java +++ b/src/com/offsec/nethunter/ManaFragment.java @@ -173,7 +173,7 @@ public void run() { nh.showMessage("Invalid script!"); return; } - nh.showMessage("Attack Launched!"); + nh.showMessage(getString(R.string.attack_launched)); }); builder.setNegativeButton("Quit", (dialog, which) -> { });