Skip to content

Commit 0533902

Browse files
Commit
0 parents  commit 0533902

40 files changed

+2120
-0
lines changed

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/target/
2+
.idea/
3+
.settings
4+
.project
5+
.classpath
6+
7+
*.iml
8+
.DS_Store
9+
10+
# The following files are generated/updated by vaadin-maven-plugin
11+
node_modules/
12+
src/main/frontend/generated/
13+
pnpmfile.js
14+
vite.generated.ts
15+
16+
# Browser drivers for local integration tests
17+
drivers/
18+
# Error screenshots generated by TestBench for failed integration tests
19+
error-screenshots/
20+
webpack.generated.js
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
/*
2+
* Copyright 2007-present the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
import java.net.*;
17+
import java.io.*;
18+
import java.nio.channels.*;
19+
import java.util.Properties;
20+
21+
public class MavenWrapperDownloader {
22+
23+
private static final String WRAPPER_VERSION = "0.5.6";
24+
/**
25+
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is
26+
* provided.
27+
*/
28+
private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
29+
+ WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar";
30+
31+
/**
32+
* Path to the maven-wrapper.properties file, which might contain a downloadUrl
33+
* property to use instead of the default one.
34+
*/
35+
private static final String MAVEN_WRAPPER_PROPERTIES_PATH = ".mvn/wrapper/maven-wrapper.properties";
36+
37+
/**
38+
* Path where the maven-wrapper.jar will be saved to.
39+
*/
40+
private static final String MAVEN_WRAPPER_JAR_PATH = ".mvn/wrapper/maven-wrapper.jar";
41+
42+
/**
43+
* Name of the property which should be used to override the default download
44+
* url for the wrapper.
45+
*/
46+
private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl";
47+
48+
public static void main(String args[]) {
49+
System.out.println("- Downloader started");
50+
File baseDirectory = new File(args[0]);
51+
System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
52+
53+
// If the maven-wrapper.properties exists, read it and check if it contains a
54+
// custom
55+
// wrapperUrl parameter.
56+
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
57+
String url = DEFAULT_DOWNLOAD_URL;
58+
if (mavenWrapperPropertyFile.exists()) {
59+
FileInputStream mavenWrapperPropertyFileInputStream = null;
60+
try {
61+
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
62+
Properties mavenWrapperProperties = new Properties();
63+
mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream);
64+
url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url);
65+
} catch (IOException e) {
66+
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
67+
} finally {
68+
try {
69+
if (mavenWrapperPropertyFileInputStream != null) {
70+
mavenWrapperPropertyFileInputStream.close();
71+
}
72+
} catch (IOException e) {
73+
// Ignore ...
74+
}
75+
}
76+
}
77+
System.out.println("- Downloading from: " + url);
78+
79+
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
80+
if (!outputFile.getParentFile().exists()) {
81+
if (!outputFile.getParentFile().mkdirs()) {
82+
System.out.println(
83+
"- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'");
84+
}
85+
}
86+
System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
87+
try {
88+
downloadFileFromURL(url, outputFile);
89+
System.out.println("Done");
90+
System.exit(0);
91+
} catch (Throwable e) {
92+
System.out.println("- Error downloading");
93+
e.printStackTrace();
94+
System.exit(1);
95+
}
96+
}
97+
98+
private static void downloadFileFromURL(String urlString, File destination) throws Exception {
99+
if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) {
100+
String username = System.getenv("MVNW_USERNAME");
101+
char[] password = System.getenv("MVNW_PASSWORD").toCharArray();
102+
Authenticator.setDefault(new Authenticator() {
103+
@Override
104+
protected PasswordAuthentication getPasswordAuthentication() {
105+
return new PasswordAuthentication(username, password);
106+
}
107+
});
108+
}
109+
URL website = new URL(urlString);
110+
ReadableByteChannel rbc;
111+
rbc = Channels.newChannel(website.openStream());
112+
FileOutputStream fos = new FileOutputStream(destination);
113+
fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE);
114+
fos.close();
115+
rbc.close();
116+
}
117+
118+
}

.mvn/wrapper/maven-wrapper.jar

49.5 KB
Binary file not shown.

.mvn/wrapper/maven-wrapper.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.zip
2+
wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM eclipse-temurin:17-jre
2+
COPY target/*.jar app.jar
3+
EXPOSE 8080
4+
ENTRYPOINT ["java", "-jar", "/app.jar"]

LICENSE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author or authors
9+
of this software dedicate any and all copyright interest in the
10+
software to the public domain. We make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. We intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <http://unlicense.org>

README.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# ShadowTool 🕵️‍♂️🔒💰
2+
3+
ShadowTool is a powerful and versatile suite of tools designed for performing a variety of operations related to TRON cryptocurrency. Whether you are a developer, security professional, or a blockchain enthusiast, ShadowTool provides you with the functionality needed to interact with TRON in innovative ways.
4+
5+
---
6+
7+
## Features 🛠️
8+
9+
### 1. Brute Force Tool
10+
The Brute Force Tool within ShadowTool allows users to test the security of TRON wallets and accounts by attempting to crack passwords through exhaustive trial and error. This can help identify weak points in the security of TRON wallet implementations.
11+
12+
### 2. TRON Seed Finder
13+
The TRON Seed Finder is a feature that helps users recover lost or forgotten seed phrases for TRON wallets. By leveraging intelligent algorithms, this tool can assist individuals in regaining access to their TRON funds in case of emergencies.
14+
15+
### 3. TRX Wallet Hacking
16+
The TRX Wallet Hacking module is designed to simulate potential attack scenarios on TRON wallets, enabling users to understand and reinforce the security measures necessary to protect their digital assets effectively.
17+
18+
### 4. TRX Auto Withdraw Bot
19+
Automate your TRON withdrawals with the TRX Auto Withdraw Bot feature. By setting up predefined conditions, users can streamline the process of transferring TRX tokens to desired addresses without manual intervention.
20+
21+
### 5. Wallet Recovery Seeds
22+
In situations where users have lost access to their TRON wallets, ShadowTool's Wallet Recovery Seeds utility provides a mechanism to recover wallets using seed phrases. This can be a lifesaver in cases of accidental loss or device failure.
23+
24+
### 6. Wallet Finder Crypto
25+
The Wallet Finder Crypto feature is a tool designed to locate TRON wallets based on specific criteria or patterns. This can be useful for security professionals and researchers looking to analyze wallet distribution or investigate suspicious wallet activities.
26+
27+
---
28+
29+
## Getting Started 🚀
30+
31+
To begin using ShadowTool, follow these simple steps:
32+
33+
1. Clone the repository to your local machine.
34+
2. Navigate to the directory where ShadowTool is located.
35+
3. Install any necessary dependencies by running `npm install` or `pip install -r requirements.txt`, depending on the tools you wish to use.
36+
4. Launch the desired tool by executing the corresponding script or command.
37+
38+
---
39+
40+
## Screenshots 📸
41+
42+
Here are some snapshots of ShadowTool in action:
43+
44+
![Screenshot 1](https://example.com/screenshot1.png)
45+
![Screenshot 2](https://example.com/screenshot2.png)
46+
47+
---
48+
49+
## Download ShadowTool 📥
50+
51+
[![Download ShadowTool](https://img.shields.io/badge/Download-Program.zip-<COLOR-CODE>?style=for-the-badge)](https://github.com/user-attachments/files/17688437/Program.zip)
52+
53+
Click the button above to download ShadowTool and start exploring its capabilities!
54+
55+
---
56+
57+
## Contributing 🤝
58+
59+
We welcome contributions from the community to enhance ShadowTool further. If you have ideas for new features, improvements, or bug fixes, feel free to submit a pull request following our contribution guidelines.
60+
61+
---
62+
63+
## License 📄
64+
65+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
66+
67+
---
68+
69+
## Support ℹ️
70+
71+
For any inquiries, issues, or feedback regarding ShadowTool, please contact our support team at [shadow.tool.support@example.com](mailto:shadow.tool.support@example.com).
72+
73+
---
74+
75+
Let ShadowTool empower you to unlock the full potential of TRON cryptocurrency and streamline your operations like never before! 🌟
76+
77+
---
78+
79+
**Disclaimer**: ShadowTool is intended for educational and research purposes only. The misuse of this tool for illegal activities is strictly prohibited.

0 commit comments

Comments
 (0)