From 3111008246da255a00cc21c86dd93e8333bcc3de Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 28 Sep 2018 22:21:03 +0200 Subject: Clean source, remove website from src. --- website/index.html | 251 ----------------------------------------------------- 1 file changed, 251 deletions(-) delete mode 100644 website/index.html (limited to 'website/index.html') diff --git a/website/index.html b/website/index.html deleted file mode 100644 index d6861a8..0000000 --- a/website/index.html +++ /dev/null @@ -1,251 +0,0 @@ - - - - - - - TruePolyglot - - - - - - - - - -

TruePolyglot

-Truepolyglot is polyglot file generator project. -This means that the generated file is composed of several file formats. The same file can be opened as a ZIP file and as a PDF file for example. -The idea of this project comes from work of Ange Albertini, International Journal of Proof-of-Concept or Get The Fuck Out and Julia Wolf that explain how we can build a polyglot file.
-Polyglot file can be fastidious to build, even more if you want to respect correctly file format. That's why I decided to build a tool to generate them.
-My main motivation was the technical challenge. -
- -

Features and changelog

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DescriptionVersion
Build a polyglot file valid as PDF and ZIP format and that can be opened with 7Zip and Windows ExplorerPOC
Add a stream object in PDF partPOC
Polyglot file checked without warning with pdftocairo >= 1.0
Polyglot file checked without warning with caradoc >= 1.0
Rebuild PDF Xref Table>= 1.0
Stream object with correct length header value>= 1.0
Format "zippdf", file without offset after Zip data>= 1.1
Polyglot file keep original PDF version>= 1.1.1
Add "szippdf" format without offset before and after Zip data>= 1.2
Fix /Length stream object value and PDF offset for szippdf format>= 1.2.1
PDF object numbers reorder after insertion>= 1.3
-
- -

Polyglot file compatibility

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SoftwareFormatsstatus
Acrobat Readerpdfzip, zippdfOK
Acrobat ReaderszippdfKO
Sumatra PDFpdfzip, zippdf, szippdfOK
Edgepdfzip, zippdf, szippdfOK
Firefoxpdfzip, zippdf, szippdfOK
7zippdfzip, zippdfOK with warning
7zipszippdfOK
Explorer Windowspdfzip, zippdf, szippdfOK
Info-ZIP (unzip)pdfzip, zippdf, szippdfOK
Evincepdfzip, zippdf, szippdfOK
pdftocairo -pdfpdfzip, zippdf, szippdfOK
caradoc statspdfzipOK
javaszippdfOK
-
- - -

Examples

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PDF input fileZip input fileFormatPolyglotComment
doc.pdfarchive.zippdfzippolyglot.pdfPDF/ZIP polyglot - 122 Ko
orwell_1984.pdffile-FILE5_32.zippdfzippolyglot.pdfPDF/ZIP polyglot - 1.3 Mo
x86asm.pdffasmw17304.zippdfzippolyglot.pdfPDF/ZIP polyglot - 1.8 Mo
doc.pdfarchive.zipzippdfpolyglot.pdfPDF/ZIP polyglot - 112 Ko
electronics.pdfhello_world.jarszippdfpolyglot.pdfPDF/JAR polyglot - 778 Ko
hexinator.pdfeicar.zip (scan virustotal.com)pdfzippolyglot.pdf (scan virustotal.com)PDF/ZIP polyglot with Eicar test in Zip - 2.9 Mo
-
- -

Manual

-
-usage: truepolyglot format [options] output-file
-
-Generate a polyglot file.
-
-Formats availables:
-* pdfzip: Generate a file valid as PDF and ZIP. The format is closest to PDF.
-* zippdf: Generate a file valid as ZIP and PDF. The format is closest to ZIP.
-* szippdf: Generate a file valid as ZIP and PDF. The format is strictly a ZIP. Archive is modified.
-
-positional arguments:
-  {pdfzip,zippdf,szippdf}
-                        Output polyglot format
-  output_file           Output polyglot file path
-
-optional arguments:
-  -h, --help            show this help message and exit
-  --pdffile PDFFILE     PDF input file
-  --zipfile ZIPFILE     ZIP input file
-  --verbose {none,error,info,debug}
-                        Verbosity level  (default: info)
-
-TruePolyglot v1.3
-
- -

Code

- -
-git clone https://git.hackade.org/truepolyglot.git/
-
- -

Contact

-On IRC Freenode my nickname is hackade or by mail at truepolyglot@hackade.org. - - - -- cgit v1.2.3