/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tools/automation/cache/update_module_cache.sh
20 строк
479 B
adfoster-r7
Update build cache to run xargs in parallel
31 окт 2024, 16:21
31 окт 2024, 16:21
02f5fd7
Код
Авторство
О чём код?
#!/bin/sh -ex if [ ! -f "msfconsole" ]; then echo "Missing 'msfconsole' the tool should only be run from the root of the repository.'" exit 1 fi DOCKER_EXEC=`which docker` if [ -z "$DOCKER_EXEC" ]; then echo "Docker is required to run this tool." exit 1 fi IMG='metasploitframework/metasploit-framework:latest' docker run --rm=true --tty \ --volume=`pwd`:/r7-source \ --workdir=/r7-source ${IMG} \ /bin/sh -c 'time ./tools/automation/cache/build_new_cache.sh'