Skip to content

Commit a56573a

Browse files
committed
first commit
0 parents  commit a56573a

13 files changed

Lines changed: 652 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea
2+
build
3+
.gradle

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# 🔥 T4scan
2+
A burp plugin for text4shell passive scan
3+
4+
## 📦How to install
5+
### ⏬Download
6+
You can download complied jar from release or build from source.
7+
### 🔨Build from source
8+
First clone the project
9+
```
10+
git clone https://github.com/YulinSec/t4scan
11+
```
12+
Then open it by IDEA, run task fatJar in build.gradle
13+
![images](images/fatjar.png)
14+
You can find compiled jar in build/libs/t4scan-all-1.0-SNAPSHOT.jar
15+
![images](images/output.png)
16+
### 🚀Install to burp
17+
Install this plugin as a java plugin in extender panel.
18+
19+
## 🔮Images
20+
After t4scan installed, it will automatically get http request sent by burp, and inject payloads to find text4shell, including echo and dns.
21+
You can find urls scanned in stdout of t4scan.
22+
![images](images/stdout.png)
23+
When it found a text4shell, it will alert an issue.
24+
![images](images/issue.png)
25+
For more details, please to and look at source code.

build.gradle

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
group 'org.example'
6+
version '1.0-SNAPSHOT'
7+
8+
repositories {
9+
mavenCentral()
10+
}
11+
12+
dependencies {
13+
implementation 'net.portswigger.burp.extender:burp-extender-api:1.7.13'
14+
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
15+
implementation 'org.apache.commons:commons-lang3:3.12.0'
16+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
17+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
18+
}
19+
20+
21+
task fatJar(type: Jar) {
22+
baseName = project.name + '-all'
23+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
24+
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
25+
with jar
26+
}
27+
28+
test {
29+
useJUnitPlatform()
30+
}

gradle/wrapper/gradle-wrapper.jar

58.4 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 234 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 89 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

images/fatjar.png

58 KB
Loading

images/issue.png

133 KB
Loading

images/output.png

23.9 KB
Loading

0 commit comments

Comments
 (0)