Skip to content

Commit

Permalink
Merge pull request #5 from w-shackleton/fix-#4
Browse files Browse the repository at this point in the history
Updated busybox to version with ash builtin. Fixes #4
  • Loading branch information
w-shackleton committed May 17, 2014
2 parents 6ee8dbe + 9f315d6 commit aec0658
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified res/raw/busybox
Binary file not shown.
2 changes: 1 addition & 1 deletion src/uk/digitalsquid/netspoofer/config/RunManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void startSpoof(SpoofData spoof) throws IOException {
final String spoofParams = String.format("%s %s", victim, router);

ProcessBuilder pb = new ProcessBuilder(FileFinder.SU, "-c",
FileInstaller.getScriptPath(context, "busybox") + " sh -c \"" +
FileInstaller.getScriptPath(context, "busybox") + " ash -c \"" +
FileInstaller.getScriptPath(context, "spoof") + " " + FileInstaller.getScriptPath(context, "config") + " " +
spoofParams + "\""); // Pass config script as arg.

Expand Down

0 comments on commit aec0658

Please sign in to comment.