Archive for November 18th, 2006

Cross Compiler-Building Windows application under linux

I used to use JavaCompiler0.8 compile windows and Linux applications under windows xp, but some feature I want it does not support(for example, Regex, UTF-16E, MacRoman encoding), and the last version called NativeJ is never free(one developer license need USD35, still does not support UTF-16 encoding).
So I decide to compile one by myself, but I have very little knowledge about GCC and Linux, how can I do?
Google helped me, I found this article:Building GCJ for Windows, it is very detailed. base on this article, I got the Linux version and windows version under Ubuntu, both can build windows application(no matter under windows or under Linux), but I found it omits some resources, when I try the String.replaceAll method of java, it failed, this problem easily to solve, another one is not so easy for me, it not include libiconv, so it does not support most Unicode converting(UTF-16, UTF-16BE, UTF-16LE and so on), I ask the author of the article, he let me ask gcj mail listing.
Last night, I found thisiscool has released the GCJ4.2, and said it also support cross compiler, I have test windows version(just download the compiled version from the website), it work, support Regex and UTF-16BE, great, I can do something base on it. and will try to compile it under Ubuntu next Monday.
Todo:
compile the gcj 4.2 source code get from thisiscool under Ubuntu.
try to compile a version that supports compile Mac OS X application under Ubuntu, because I have no Mac.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride

PDFCrack – A Password Recovery Tool for PDF-files

I have succeeded in compile it under ubuntu yesterday, but have done a test yet.
I tried to compile it use cross compiler(can output windows native program in ubuntu), but failed.

the author said, some source codes come from xpdf.

About PDFCrack

pdfcrack is a GNU/Linux (other POSIX-compatible systems should work too) tool for recovering passwords and content from PDF-files. It is small, command line driven without external dependencies. The application is Open Source (GPL).
Features

* Supports the standard security handler (revision 2 and 3) on all known PDF-versions
* Supports cracking both owner and userpasswords
* Both wordlists and bruteforcing the password is supported
* Simple permutations (currently only trying first character as Upper Case)
* Save/Load a running job
* Simple benchmarking
* Optimised search for owner-password when user-password is known

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • DotNetKicks
  • Fark
  • Fleck
  • Gwar
  • Haohao
  • IndianPad
  • Internetmedia
  • LinkaGoGo
  • MyShare
  • Netscape
  • NewsVine
  • Rec6
  • Reddit
  • Scoopeo
  • Slashdot
  • StumbleUpon
  • Technorati
  • Webride