Open-source ARJ
Introduction
Status
The open-source ARJ benefits from a productive community of contributors who have brought ARJ to various platforms far beyond its 80×86 origins. Availability for these platforms may change over time. Generally, the releases collected under the «Other platforms» section represent points in history when it was possible to build ARJ on a particular platform for certain.
A technical development page, featuring the bug tracker, forums and mailing lists, is available at http://www.sourceforge.net/projects/arj.
Installation
UNIX-like systems and OS/2 EMX
cd gnu;autoconf;./configure;cd ..;make prepare;make
- GNU make must be used (on FreeBSD systems it’s called «gmake»).
- You have to run autoconf prior to running configure — as there will be different configure scripts for UNIX-like systems and OS/2 EMX.
- On OS/2 EMX, autoconf v 2.57 is confirmed to work.
- You can finalize the build process with «make install» (to perform a local installation) or «make package» (to create a self-extracting distribution kit).
ARJ is a CPU-intensive program. If you wish to configure ARJ for a higher performance on a specific CPU, try the following, assuming that you have a newer version of GCC, e.g. 3.2.1:
./configure CFLAGS=»-march=i386 -mcpu=athlon-xp»
where «-mcpu» designates the type of your CPU, run «man gcc» for a list of CPU types.
DOS, OS/2 and Win32 systems
nmake MODE=DOS16 COMPILER=MSC7 prepare all package
You can find a list of MODE and COMPILER designations right in the MAKEFILE, along with some usage notes.
Downloads
|
Experiencing a slow download? Cannot find the packages you need? Here are some tips:
- If you are looking for the source code, visit the development page where you will have an option to:
(a) access the CVS tree, or (b) download a .tar.gz’ipped snapshot from OSDN sites - If you are looking for a particular type of Linux package (RPM, DEB), be sure to check the package collection of your distribution manufacturer first. Using a «native» package warrants that you obtain a program properly configured and optimized for your system, possibly at the cost of an older version.
- In FreeBSD v 4.6 and above, please refer to the Ports Collection for ARJ binary releases.
- OS/2 binaries are uploaded to the Hobbes archive and may be located at its numerous mirrors.
- Finally, the DOS and Win32 binaries are often mirrored in amateur networks and are worth looking for at any search engine (e.g. arj__*.exe). However, be warned that uncontrolled distributions may contain viruses.
Migrating from shareware and commercial versions
If you own a full commercial version of ARJ v 2.39+ and need a version that is able to create ARJ-SECURED archives, contact the author, submitting your key or (if applicable) a small ARJ-SECURED archive as a proof of your registration along with the details of your inquiry (target platform, preferred NLV, etc.). You’ll be provided with a precompiled commercial version from the pre-opensource branch for your private use. Commercial versions do not include any changes contributed by third parties to the open-source project, therefore the platform coverage and NLV availability may be different.
- Due to ubiquitous circulation of counterfeit registration keys for the older (pre-2.70) versions of ARJ, we do not intend to provide registration upgrades for users of shareware versions below 2.70 unless they own a full commercial version and can confirm their entitlement by submitting a sealed archive (see above).
- The previous shareware releases under the «free for non-commercial use» policy are still available at some sites.
(c) 1998-2019, ARJ Software Russia. Contact: Andrew Belov.
Источник
Извлечение файлов ARJ в Linux
Во время игры в CTF я наткнулся на файлы ARJ . После некоторых исследований выяснил, что.
ARJ — это архиватор для файлов .arj. Как и большинство типов архивных файлов, они используются для хранения и сжатия нескольких файлов и папок в один легко управляемый файл.
Я хочу извлечь эти файлы ARJ. У меня есть 4 файла с именами 36 , 18914 , 19880 , E723 .
Я попробовал эту команду arj e 36
Это дает эту ошибку,
Итак, я переименовал эти файлы в 36.arj , 18914.arj , 19880.arj , E723.arj
И попробовал эту команду arj e 36.arj
Это дает эту ошибку,
ОБНОВЛЕНИЕ: CTF наконец закончен, и я прочитал описание, связанное с этим вопросом. На самом деле я копал не ту яму. Основной файл, который был указан в вопросе, был поврежден, и нам пришлось correct the headers . И позже мы должны извлечь этот файл с помощью binwalk . Снова благодаря Камилу и Робертсу
1 ответ 1
ARJ изначально происходит из мира Windows, и там типы файлов определяются расширением имени файла. Я экспериментировал с этим созданным архивом с именем 36 как arj a 36 ./*.pdf — программа автоматически добавила расширение arj поэтому я получил файл 36.arj . Затем я проверил извлечение — это, безусловно, сработало. Однако, когда я удалил расширение и попытался выполнить аналогичную команду arj e ./36 это дало ошибку, что файл 36.arj не был найден. Как только я снова добавил расширение — сработала точно такая же команда. Поэтому я боюсь, что если вам нужно управлять файлами с помощью arj вам нужно использовать расширение, как в Windows.
Как вы можете видеть, шаг выше решил проблему с отсутствующим файлом.
Если есть еще проблемы, вам нужно выяснить, где ошибка. Например, вы создаете архив на своем компьютере (как я сделал) и смотрите, правильно ли обрабатывается файл. Затем вы тестируете его с другим программным обеспечением, например, используйте 7zip для Windows — в нем есть arj unpacker. Или кросс-платформенный эквивалент peaZip — вы можете легко установить его и на Linux. Сообщите нам о результатах.
Возможно, вы можете извлечь некоторые файлы из архива, даже если он поврежден. Если во время извлечения ARJ прерывает работу с сообщением об ошибке «Плохой заголовок» или «Плохие данные файла», то с помощью параметра ARJ -jr вы сможете восстановить поврежденные файлы в архиве. Поврежденные файлы не подлежат восстановлению. (Это с официального сайта ARJ.) В качестве предупреждения вы можете использовать опцию -hk для создания файла восстановления с исправлением ошибок, который позволит вам исправить незначительные проблемы с повреждением данных. (Этот вариант хорош только тогда, когда вы строите свои архивы).
Но для соревнования CTF — возможно, у вас есть необходимая информация в нескольких не поврежденных файлах.
Источник