Atiti qq空间破解(3)------------gui图形化通用cli执行器atiuse
Atiti qq空间破解(3)------------gui图形化通用cli执行器atiuse
/AtiPlatf_cms/src/com/attilax/rest/DslAjaxJsbridgeServlet.java1
/AtiPlatf_cms/src/com/attilax/dsl/DslParser.java2
结构:::命令行+以及反馈log框
cli_guiUI/index.htm
<script type="text/javascript" src="../com.attilax\jsbridge\dsl_jsb_v12qaf.js"></script>
<script type="text/javascript" src="../com.attilax\cfg\approot_jsV4q329.jsp"></script>
<script >
hre_web_url="/DslAjaxJsbridgeServlet";
/AtiPlatf_cms/src/com/attilax/rest/DslAjaxJsbridgeServlet.java
@Override
public void service(ServletRequest req, ServletResponse response) {
try {
HttpServletRequest req2 = (HttpServletRequest) req;
String r = (String) new DslParser().parse(req2.getParameter("dsl"));
response.getWriter().println(r); // �벻Ҫ�Ļ�ɾ��
} catch (Exception e) {
logger.error("--err", e);
logger.error("--err2", AtiJson.toJson(e));
filex.save_safe(core.getTrace(e),
"c:\\0rechglog\\" + filex.getUUidName() + ".log");
ExUtil.throwExV2(e);
}
}
/AtiPlatf_cms/src/com/attilax/dsl/DslParser.java
public Object parse(String args) {
// TODO Auto-generated method stub com.attilax.encry.RSACoder.main(['fixseed','c:/0k/pri.txt','c:/0k/pub.txt'])
System.out.println("..start");
@SuppressWarnings("unchecked")
StreamUtil sx = new StreamUtil();
sx.RedirectToStrOut();
// System.out.println("--wanning..for debug out stacktrace");
List<Token> tokens = new JavaTokener(args).getTokensV3();
exprs buildAst = new AstBuilder().buildAstV2(tokens);
Object rzt = new AstParser().parse(buildAst);
if(rzt==null)
{
String rztFrmStdout=sx.getStr();
//restore std out
sx.restoreStdOut();
return rztFrmStdout;
}
System.out.println(rzt);
System.out.println("...finish");
return rzt;
}
作者:: 绰号:老哇的爪子 ( 全名::Attilax Akbar Al Rapanui 阿提拉克斯 阿克巴 阿尔 拉帕努伊 )
汉字名:艾提拉(艾龙), EMAIL:1466519819@qq.com
转载请注明来源: http://www.cnblogs.com/attilax/
Atiend