mirror of
https://github.com/frohoff/ysoserial.git
synced 2026-09-27 01:11:53 +08:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee913411e8 |
@@ -1,40 +0,0 @@
|
|||||||
name: publish jar
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- "v*.*.*"
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
packages: write
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions/setup-java@v3
|
|
||||||
with:
|
|
||||||
java-version: '8'
|
|
||||||
distribution: 'adopt'
|
|
||||||
cache: 'maven'
|
|
||||||
- name: Set version
|
|
||||||
run: mvn versions:set -DnewVersion=${{ github.ref_name }}
|
|
||||||
- name: Build jar
|
|
||||||
run: mvn -B clean package -DskipTests
|
|
||||||
# - name: publish maven jar
|
|
||||||
# run: mvn -B deploy -DskipTests -DrepositoryId=github
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
|
|
||||||
- name: Rename artifact
|
|
||||||
run: mv target/ysoserial-${{ github.ref_name }}-all.jar target/ysoserial-all.jar
|
|
||||||
|
|
||||||
- name: Publish GitHub release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
files: target/ysoserial-all.jar
|
|
||||||
@@ -26,7 +26,6 @@ after_script:
|
|||||||
grep testcase -A1 | grep -B1 -E 'failure|error|skipped' | grep -v -- --
|
grep testcase -A1 | grep -B1 -E 'failure|error|skipped' | grep -v -- --
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- jdk: oraclejdk11
|
- jdk: oraclejdk11
|
||||||
- jdk: openjdk6
|
- jdk: openjdk6
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
https://gitter.im/frohoff/ysoserial?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
https://gitter.im/frohoff/ysoserial?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
[](
|
[](
|
||||||
https://jitpack.io/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-SNAPSHOT.jar)
|
https://jitpack.io/com/github/frohoff/ysoserial/master-SNAPSHOT/ysoserial-master-SNAPSHOT.jar)
|
||||||
[](https://travis-ci.com/frohoff/ysoserial)
|
[](https://travis-ci.org/frohoff/ysoserial)
|
||||||
[](https://ci.appveyor.com/project/frohoff/ysoserial/branch/master)
|
[](https://ci.appveyor.com/project/frohoff/ysoserial/branch/master)
|
||||||
|
|
||||||
A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization.
|
A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization.
|
||||||
|
|||||||
@@ -438,11 +438,4 @@
|
|||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
</profiles>
|
</profiles>
|
||||||
<distributionManagement>
|
|
||||||
<repository>
|
|
||||||
<id>github</id>
|
|
||||||
<name>GitHub Packages</name>
|
|
||||||
<url>https://maven.pkg.github.com/frohoff/ysoserial</url>
|
|
||||||
</repository>
|
|
||||||
</distributionManagement>
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ public class PayloadsTest {
|
|||||||
File[] jars = dependencies.length > 0
|
File[] jars = dependencies.length > 0
|
||||||
? Maven.configureResolver()
|
? Maven.configureResolver()
|
||||||
.withMavenCentralRepo(true)
|
.withMavenCentralRepo(true)
|
||||||
.withRemoteRepo("jenkins", "https://repo.jenkins-ci.org/public/", "default")
|
.withRemoteRepo("jenkins", "http://repo.jenkins-ci.org/public/", "default")
|
||||||
.resolve(dependencies).withoutTransitivity().asFile()
|
.resolve(dependencies).withoutTransitivity().asFile()
|
||||||
: new File[0];
|
: new File[0];
|
||||||
URL[] urls = new URL[jars.length];
|
URL[] urls = new URL[jars.length];
|
||||||
|
|||||||
Reference in New Issue
Block a user