能不能把class文件反编译到真正JAVA源代码?

china_why 2002-08-21 04:39:14
我反编译的一个文件部分代码如下:(好像很乱)

public void doPost(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
throws IOException, ServletException
{
long l = 0x3dc70a00L;
long l1 = 0L;
l1 = System.currentTimeMillis();
l1 /= 1000L;
if(l1 > l)
{
System.out.println("\u6F14\u793A\u7248\u5DF2\u5230\u671F,\u7CFB\u7EDF\u5C06\u4E0D\u6B63\u5E38!");
return;
}
httpservletresponse.setContentType("text/html;charset=UTF-8");
PrintWriter printwriter = httpservletresponse.getWriter();
try
{
ServletContext servletcontext = getServletContext();
_$5 = (ConnectionManager)servletcontext.getAttribute("fcConPoolManager");
_$4 = _$5.getConnection("demo");
}
catch(Exception _ex) { }
finally
{
if(_$4 != null)
_$5.freeConnection("demo", _$4);
}
String s = new String(httpservletrequest.getQueryString());
BufferedReader bufferedreader = httpservletrequest.getReader();
Object obj = null;
String s1;
for(_$1 = ""; (s1 = bufferedreader.readLine()) != null; _$1 = _$1 + s1);
try
{
DOMParserWrapper domparserwrapper = (DOMParserWrapper)Class.forName("dom.wrappers.DOMParser").newInstance();
_$6 = domparserwrapper.parseXml(_$1);
}
catch(Exception _ex) { }
if(s.equals("fc_insert"))
printwriter.print(_$4());
if(s.equals("fc_insert1"))
printwriter.print(_$5());
if(s.equals("fc_update1"))
printwriter.print(_$6());
if(s.equals("fc_select"))
printwriter.print(_$3());
if(s.equals("fc_FieldToTable"))
printwriter.print(_$2());
if(s.equals("twors"))
printwriter.print(_$1());
if(s.equals("sqltoxml"))
printwriter.print(_$7());
if(s.equals("dsnSetSession"))
{
Node node = _$6.getChildNodes().item(0);
String s3 = node.getChildNodes().item(0).getChildNodes().item(0).getNodeValue();
String s5 = "";
try
{
s5 = node.getChildNodes().item(1).getChildNodes().item(0).getNodeValue();
}
catch(Exception _ex) { }
HttpSession httpsession1 = httpservletrequest.getSession(true);
httpsession1.setAttribute(s3, s5);
printwriter.print("");
}
if(s.equals("dsnGetSession"))
{
Node node1 = _$6.getChildNodes().item(0);
String s4 = node1.getChildNodes().item(0).getChildNodes().item(0).getNodeValue();
HttpSession httpsession = httpservletrequest.getSession(true);
String s6 = httpsession.getAttribute(s4).toString();
printwriter.print(s6);
}
if(s.equals("loadprint"))
{
String s2 = "function%20detachPage%28%29%7B%20htmlToptmp%3DhtmlTop%3B%";
printwriter.println(s2);
}
}

private String _$1;
private ResultSet _$2;
private ResultSet _$3;
private Connection _$4;
private ConnectionManager _$5;
private Document _$6;
...全文
291 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
Joeblackyang 2002-08-21
  • 打赏
  • 举报
回复
推荐JAD, 用它反编译的java我一般都能看懂。
arjila 2002-08-21
  • 打赏
  • 举报
回复
有很多工具,下几个试试
wes109 2002-08-21
  • 打赏
  • 举报
回复
jode.sourceforge.net
gularess 2002-08-21
  • 打赏
  • 举报
回复
jad不错!
donghy2008 2002-08-21
  • 打赏
  • 举报
回复
你用什么工具翻译的
苏格拉顶777 2002-08-21
  • 打赏
  • 举报
回复
什么叫真的java源代码?难度你贴上来的是假的?

局部变量翻译成这个样子是肯定的,最多是好看一点。
nullhue 2002-08-21
  • 打赏
  • 举报
回复
DJCompiler
不错,你可以去找来看看

62,615

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧