Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Commit

Permalink
attack
Browse files Browse the repository at this point in the history
  • Loading branch information
thehappydinoa committed Feb 5, 2019
1 parent f4f8e29 commit d919533
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@
<string name="unknown">Unknown</string>
<string name="statusText">Status:</string>
<string name="licenseInfo">Nethunter is licensed under the <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">GPLv2</a> and source is available at <a href="https://github.com/offensive-security">github.com/offensive-security</a>. Some icons are licensed from Google, Inc. under <a href="https://creativecommons.org/licenses/by/4.0">CC BY 4.0</a>. Android-WVersionManager and jTar is licensed under Apache 2.0. </string>
<string name="attack_launched">Attack launched!</string>

<!-- sidebar menu item titles -->
<string name="drawertitlenethunter">Home</string>
Expand Down Expand Up @@ -394,4 +395,5 @@
<!--Notification Channel-->
<string name="boot_notification_channel">Boot</string>
<string name="boot_notification_channel_description">Notification for run at boot services</string>

</resources>
2 changes: 1 addition & 1 deletion src/com/offsec/nethunter/DuckHunterFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/com/offsec/nethunter/HidFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/com/offsec/nethunter/ManaFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) -> {
});
Expand Down

0 comments on commit d919533

Please sign in to comment.