Skip to content

vncloudsco/crack-elasticsearch-by-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

crack-elasticsearch-by-docker

Crack elasticsearch 7.x / 8.x by docker

适用于破解elasticsearch 7.x / 8.x的自动脚本

已测试版本

  • elasticsearch 8.2.0

Usage

Get srcipt

获取脚本源码

git clone https://github.com/wolfbolin/crack-elasticsearch-by-docker.git

Run srcipt with version

运行脚本并指定完整版本(例如: 8.2.0)

cd crack-elasticsearch-by-docker
version=8.2.0
bash crack.sh $version

Get cracked x-pack-core-$version.jar

编译产物和编译中间件保存在output文件夹中

cp output/x-pack-core-$version.crack.jar x-pack-core-$version.jar

Others

You can change crack.sh shell with http_proxy / https_proxy url

你可以修改crack.sh以使用代理访问网络,避免网络访问故障

docker build --no-cache -f Dockerfile \
  --build-arg VERSION="${version}" \
  --build-arg HTTP_PROXY="http:https://1.2.3.4:8080" \
  --build-arg HTTPS_PROXY="http:https://1.2.3.4:8080" \
  --tag ${service_name}:${version} .

docker run -it --rm \
  -v $(pwd)/output:/crack/output \
  -e HTTP_PROXY="http:https://1.2.3.4:8080" \
  -e HTTPS_PROXY="http:https://1.2.3.4:8080" \
  ${service_name}:${version}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 82.5%
  • Dockerfile 17.5%