熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Java編程 >> Java開源技術 >> 正文

破解java Struts Web Application開發工具 scioworks Camin

2013-11-23 20:21:22  來源: Java開源技術 

  作者xiangya
  
  我很高興向大家知會一聲scioworks Camino的基於Struts的Web Application開發工具已經可以破解了因為Struts不錯我才想這樣目的只有一個用來測試檢驗Struts
  
  這個工具使用注冊碼並使用注冊碼進行日期判斷讓我有點惱火的是程序會想一個地址發送UDP包不管怎樣我不希望這樣的事情發生
  
  我想這個工具的破解有兩種方式
  
   認真鑽研其算法然後給出一個KeyGen程序這種方式對程序本身不會有什麼影響但是研讀算法比較費時間
  
   改寫程序控制然後給出一個替代的class文件這種方式因為改寫了程序控制流程需要特別小心不小心的話原來的程序就會崩潰
  
  這兩種方式各有千秋取決於你的興趣所在因為這個工具經過了代碼優化以及別的處理所以改寫代碼稍嫌麻煩
  
  要做改寫代碼方式破解的話你需要一個反編譯工具我推薦你使用jshrink因為jad好像已經不再做下去了(別說你還有好多反編譯工具大多使用jad Engine)其次你需要了解一點java虛擬機規范沒有也行那麼你需要熟悉java語言或者加上一些windows匯編語言知識
  
  我沒有更多耐心所更多的東西給出源代碼你愛誰誰去
  
  // Mainjava; class file size bytes
  
  package scioworkscamino;
  
  /*
  import BindingSchemaLoader;
  import CaminoApp;
  import CaminoModel;
  import Config;
  import ContextPathUtil;
  import ExpressException;
  import FileReadWriteException;
  import InvalidResourceException;
  import Main$CMon;
  import Main$SMon;
  import Navigatable;
  import ParseException;
  import StrutsSubApp;
  */
  import comjxmlquickQDoc;
  import scioworkscaminoeventProjectReadyEvent;
  import scioworkscaminoguiLcPanel;
  import scioworkscaminoioDirtyStatusLookup;
  import javaawtColor;
  import javaawtFrame;
  import javaioFile;
  import javaioIOException;
  import javatextMessageFormat;
  import javautilArrayList;
  import javautilCollection;
  import javautilHashMap;
  import javautilIterator;
  import javautilList;
  import javautilMap;
  import javautilNoSuchElementException;
  import javautilSet;
  import javautilStringTokenizer;
  import javautilTreeMap;
  import javaxswingJOptionPane;
  import scioworkscaminoprjModelCaminoProject;
  import scioworkscaminoprjModelSubApp;
  import scioworksaspenBaseDialog;
  import scioworksaspenHelpManager;
  import scioworksaspenSwingUtil;
  import scioworksaspenprogressProgressListener;
  import monioFileUtil;
  import moniofilemonitorFileMonitor;
  import monloggingLogger;
  import monloggingLoggerFactory;
  import ssageMessage;
  import ssageMessageCategory;
  import scioworksutilcryptoTransformerRev;
  import scioworkscaminostrutsModelAction;
  import scioworkscaminostrutsModelStrutsConfig;
  import scioworkscaminowebddServlet;
  import scioworkscaminowebddServletMapping;
  import scioworkscaminowebddWebApp;
  import javaioIOException;
  import DatagramPacket;
  import DatagramSocket;
  import InetAddress;
  import MulticastSocket;
  import InetAddress;
  
  
  class Main
  implements
   CaminoModel
  {
   final static private String _$ = VGhlIGxpYVucUgaWmbJtYXRpbgaXMgaWYWxpZA==;
   final static private String _$ = QFtaWvIExpYVucUgSWmbw==;
   final static private String _$ = VHJpYWwgbGljZWzZSBleHBpcmVzIGluIHswfSBkYXlz;
   final static private String _$ = WWciBcmlhbCBsaWNlbnNlIGhhcyBleHBpcmVkLiBWaXNpdCBodHRwOivddLnNjaWbJrcyjbgdGgcHVyYhhcUgYSBsaWNlbnNlZCBjbBIGmIFNjaWbJrcyBDYWpbm=;
   final static private String _$ = VWyZWdpcRlcmVkIFRyaWFsIENvcHk=;
   final static private String _$ = usitPzelhkTNlTcaSpAIIiuaalidM;
   final static private String _$ = URhbmRhcmQ=;
   final static private String _$ = RWZXJwcmlzZQ==;
   static private monloggingLogger _$ = monloggingLoggerFactorygetLogger(Mainclass);
   // monloggingLoggerFactorygetLogger((class$scioworks$camino$Main == null) ? (class$scioworks$camino$Main = Mainclass$(scioworkscaminoMain)) : class$scioworks$camino$Main);
   private int _$;
   private String _$;
   //private Main$CMon _$;
   //private Main$SMon _$;
   private int _$;
   private String _$;
   private long _$;
   private String _$;
   private String _$;
   private CaminoProject _$;
   private WebApp _$;
   private javautilMap _$;
  
  
   public Main() throws InvalidResourceException {
   _$ = ;
   _$ = ;
   //_$ = null;
   //_$ = null;
   _$ = ;
   _$ = ;
   _$ = ;
   _$ = ;
   _$ = ;
   _$ = null;
   _$ = null;
   _$ = new javautilTreeMap();
   getLc(javaxswingJOptionPanegetRootFrame() true);
   _$(License Count = ncat(StringvalueOf(_$)));
   _$(Serial Number = ncat(_$));
   _$ = _$();
   //_$();
   BindingSchemaLoadergetProjectBindingSchema();
   BindingSchemaLoadergetStrutsConfigBindingSchema();
   BindingSchemaLoadergetWebDDBindingSchema();
   scioworksaspenHelpManagerinstance();
   }
  
   public javautilList findGlobalForwardsByTarget(Navigatable n) {
   ArrayList a;
   Iterator i;
   StrutsSubApp s;
   List l;
   a = new javautilArrayList();
   i = _$values(erator();
   while (ihasNext()) {
   s = (StrutsSubApp) inext();
   l = sgetStrutsConfig()findGlobalForwardsByTarget(n);
   aaddAll(l);
   }
   return a;
   }
  
   public Navigatable findNavigatable(String s) {
   Iterator i;
   StrutsSubApp s = null;
   i = _$values(erator();
   {
   do {
   if (ihasNext()) {
   s = (StrutsSubApp) inext();
   }
   }
   while (sisInSubApp(s) == false);
   return sfindSubAppNavigatable(smakeSubAppRelative(s));
   }
   //return null;
   }
  
   public Action findAction(String s) {
   Iterator i;
   StrutsSubApp s = null;
   i = _$values(erator();
   {
   do {
   if (ihasNext()) {
   s = (StrutsSubApp) inext();
   }
   }
   while (sisInSubApp(s) == false);
   return sfindSubAppAction(ContextPathUtilmakeSubAppRelative(sgetPrefix() s));
   }
   //return null;
   }
  
   public CaminoProject getProject() {
   return _$;
   }
  
   public WebApp getWebApp() {
   return _$;
   }
  
   public StrutsSubApp getSubApp(String s) {
   return (StrutsSubApp) _$get(s);
   }
  
   public javautilSet getSubAppPrefixes() {
   return _$keySet();
   }
  
   javautilMap getAllSubApps() {
   return _$;
   }
  
   public void initNewProject(CaminoProject c scioworksaspenprogressProgressListener p) throws InvalidResourceEx
From:http://tw.wingwit.com/Article/program/Java/ky/201311/28370.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.