We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
因为配置了iterm2,所以默认terminal显示有点问题,能否增加一个输入iterm2路径的地方来手工填入
The text was updated successfully, but these errors were encountered:
适配iterm2的代码,可以将默认terminal替换为iterm2 else if(osType == Util.OS_MAC){ String optionCommand = Config.getSqlmapOptionsCommand(); //将参数数中的"转译为\" // optionCommand = optionCommand.replace("\"","\\\""); command = String.format("%s %s -r %s %s",Config.getPythonName(),Config.getSqlmapPath(),Config.getRequstFilePath(),optionCommand); cmds.add("osascript"); cmds.add("-e"); String cmd = "tell application \"iTerm2\" \n" + " create window with default profile\n" + " tell current session of current window\n" + " write text \"%s\"\n" + " end tell\n" + "end tell"; cmds.add(String.format(cmd,command)); BurpExtender.stdout.println(String.format(cmd,command)); }
else if(osType == Util.OS_MAC){ String optionCommand = Config.getSqlmapOptionsCommand(); //将参数数中的"转译为\" // optionCommand = optionCommand.replace("\"","\\\""); command = String.format("%s %s -r %s %s",Config.getPythonName(),Config.getSqlmapPath(),Config.getRequstFilePath(),optionCommand); cmds.add("osascript"); cmds.add("-e"); String cmd = "tell application \"iTerm2\" \n" + " create window with default profile\n" + " tell current session of current window\n" + " write text \"%s\"\n" + " end tell\n" + "end tell"; cmds.add(String.format(cmd,command)); BurpExtender.stdout.println(String.format(cmd,command)); }
Sorry, something went wrong.
No branches or pull requests
因为配置了iterm2,所以默认terminal显示有点问题,能否增加一个输入iterm2路径的地方来手工填入
The text was updated successfully, but these errors were encountered: