Skip to content

Commit 94b0096

Browse files
committed
change readme
1 parent 71b6993 commit 94b0096

63 files changed

Lines changed: 314 additions & 419 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,52 +18,52 @@ A `Java` version of the `SDK`, based on the [`FOFA Pro API`](https://fofa.so/api
1818
<dependency>
1919
<groupId>com.r4v3zn.fofa</groupId>
2020
<artifactId>fofa-core</artifactId>
21-
<version>1.0.4.RELEASE</version>
21+
<version>1.0.5.RELEASE</version>
2222
</dependency>
2323
```
2424

2525
### Gradle Groovy DSL
2626

2727
```java
28-
implementation 'com.r4v3zn.fofa:fofa-core:1.0.4.RELEASE'
28+
implementation 'com.r4v3zn.fofa:fofa-core:1.0.5.RELEASE'
2929
```
3030

3131
### Gradle Kotlin DSL
3232

3333
```java
34-
implementation("com.r4v3zn.fofa:fofa-core:1.0.4.RELEASE")
34+
implementation("com.r4v3zn.fofa:fofa-core:1.0.5.RELEASE")
3535
```
3636

3737
### Scala SBT
3838

3939
```java
40-
libraryDependencies += "com.r4v3zn.fofa" % "fofa-core" % "1.0.4.RELEASE"
40+
libraryDependencies += "com.r4v3zn.fofa" % "fofa-core" % "1.0.5.RELEASE"
4141
```
4242

4343
### Apache Ivy
4444

4545
```java
46-
<dependency org="com.r4v3zn.fofa" name="fofa-core" rev="1.0.4.RELEASE" />
46+
<dependency org="com.r4v3zn.fofa" name="fofa-core" rev="1.0.5.RELEASE" />
4747
```
4848

4949
### Groovy Grape
5050

5151
```java
5252
@Grapes(
53-
@Grab(group='com.r4v3zn.fofa', module='fofa-core', version='1.0.4.RELEASE')
53+
@Grab(group='com.r4v3zn.fofa', module='fofa-core', version='1.0.5.RELEASE')
5454
)
5555
```
5656

5757
### Leiningen
5858

5959
```java
60-
[com.r4v3zn.fofa/fofa-core "1.0.4.RELEASE"]
60+
[com.r4v3zn.fofa/fofa-core "1.0.5.RELEASE"]
6161
```
6262

6363
### Apache Buildr
6464

6565
```java
66-
'com.r4v3zn.fofa:fofa-core:jar:1.0.4.RELEASE'
66+
'com.r4v3zn.fofa:fofa-core:jar:1.0.5.RELEASE'
6767
```
6868

6969
### Maven Central Badge
@@ -75,15 +75,15 @@ libraryDependencies += "com.r4v3zn.fofa" % "fofa-core" % "1.0.4.RELEASE"
7575
### PURL
7676

7777
```java
78-
pkg:maven/com.r4v3zn.fofa/fofa-core@1.0.4.RELEASE
78+
pkg:maven/com.r4v3zn.fofa/fofa-core@1.0.5.RELEASE
7979
```
8080

8181
### Bazel
8282

8383
```java
8484
maven_jar(
8585
name = "fofa-core",
86-
artifact = "com.r4v3zn.fofa:fofa-core:1.0.4.RELEASE",
86+
artifact = "com.r4v3zn.fofa:fofa-core:1.0.5.RELEASE",
8787
sha1 = "151fc5fe259ccad55c040ed46d40b9bc19dd6b32",
8888
)
8989
```
@@ -132,6 +132,10 @@ FofaData{mode='extended', page=1, size=8578, totalPage=86, query='app="Solr"', r
132132

133133
## Update Log
134134

135+
2022-01-27
136+
137+
- update fofa
138+
135139
2021-07-26
136140

137141
- Update jackson version

README_zh.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,52 +22,52 @@
2222
<dependency>
2323
<groupId>com.r4v3zn.fofa</groupId>
2424
<artifactId>fofa-core</artifactId>
25-
<version>1.0.4.RELEASE</version>
25+
<version>1.0.5.RELEASE</version>
2626
</dependency>
2727
```
2828

2929
### Gradle Groovy DSL
3030

3131
```java
32-
implementation 'com.r4v3zn.fofa:fofa-core:1.0.4.RELEASE'
32+
implementation 'com.r4v3zn.fofa:fofa-core:1.0.5.RELEASE'
3333
```
3434

3535
### Gradle Kotlin DSL
3636

3737
```java
38-
implementation("com.r4v3zn.fofa:fofa-core:1.0.4.RELEASE")
38+
implementation("com.r4v3zn.fofa:fofa-core:1.0.5.RELEASE")
3939
```
4040

4141
### Scala SBT
4242

4343
```java
44-
libraryDependencies += "com.r4v3zn.fofa" % "fofa-core" % "1.0.4.RELEASE"
44+
libraryDependencies += "com.r4v3zn.fofa" % "fofa-core" % "1.0.5.RELEASE"
4545
```
4646

4747
### Apache Ivy
4848

4949
```java
50-
<dependency org="com.r4v3zn.fofa" name="fofa-core" rev="1.0.4.RELEASE" />
50+
<dependency org="com.r4v3zn.fofa" name="fofa-core" rev="1.0.5.RELEASE" />
5151
```
5252

5353
### Groovy Grape
5454

5555
```java
5656
@Grapes(
57-
@Grab(group='com.r4v3zn.fofa', module='fofa-core', version='1.0.4.RELEASE')
57+
@Grab(group='com.r4v3zn.fofa', module='fofa-core', version='1.0.5.RELEASE')
5858
)
5959
```
6060

6161
### Leiningen
6262

6363
```java
64-
[com.r4v3zn.fofa/fofa-core "1.0.4.RELEASE"]
64+
[com.r4v3zn.fofa/fofa-core "1.0.5.RELEASE"]
6565
```
6666

6767
### Apache Buildr
6868

6969
```java
70-
'com.r4v3zn.fofa:fofa-core:jar:1.0.4.RELEASE'
70+
'com.r4v3zn.fofa:fofa-core:jar:1.0.5.RELEASE'
7171
```
7272

7373
### Maven Central Badge
@@ -79,15 +79,15 @@ libraryDependencies += "com.r4v3zn.fofa" % "fofa-core" % "1.0.4.RELEASE"
7979
### PURL
8080

8181
```java
82-
pkg:maven/com.r4v3zn.fofa/fofa-core@1.0.4.RELEASE
82+
pkg:maven/com.r4v3zn.fofa/fofa-core@1.0.5.RELEASE
8383
```
8484

8585
### Bazel
8686

8787
```java
8888
maven_jar(
8989
name = "fofa-core",
90-
artifact = "com.r4v3zn.fofa:fofa-core:1.0.4.RELEASE",
90+
artifact = "com.r4v3zn.fofa:fofa-core:1.0.5.RELEASE",
9191
sha1 = "151fc5fe259ccad55c040ed46d40b9bc19dd6b32",
9292
)
9393
```
@@ -136,6 +136,10 @@ FofaData{mode='extended', page=1, size=8578, totalPage=86, query='app="Solr"', r
136136

137137
## 更新日志
138138

139+
2022-01-27
140+
141+
- 更新 FOFA
142+
139143
2021-07-26
140144

141145
- 更新 jackson 版本

pom.xml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<artifactId>fofa-core</artifactId>
2323
<name>fofa-java</name>
2424
<description>Thi is a FOFA Pro SDK</description>
25-
<url>https://github.com/0nise/fofa-java</url>
25+
<url>https://github.com/fofapro/fofa-java</url>
2626
<build>
2727
<plugins>
2828
<plugin>
@@ -35,7 +35,7 @@
3535
</plugin>
3636
</plugins>
3737
</build>
38-
<version>1.0.4.RELEASE</version>
38+
<version>1.0.5.RELEASE</version>
3939
<licenses>
4040
<license>
4141
<name>The Apache Software License, Version 2.0</name>
@@ -78,19 +78,16 @@
7878
</distributionManagement>
7979
<issueManagement>
8080
<system>Github Issue</system>
81-
<url>https://github.com/0nise/fofa-java/issues</url>
81+
<url>https://github.com/fofapro/fofa-java/issues</url>
8282
</issueManagement>
8383
<scm>
84-
<connection>scm:git:https://github.com/0nise/fofa-java.git</connection>
85-
<developerConnection>scm:git:https://github.com/0nise/fofa-java.git</developerConnection>
86-
<url>https://github.com/0nise/fofa-java.git</url>
84+
<connection>scm:git:https://github.com/fofapro/fofa-java.git</connection>
85+
<developerConnection>scm:git:https://github.com/fofapro/fofa-java.git</developerConnection>
86+
<url>https://github.com/fofapro/fofa-java.git</url>
8787
</scm>
8888
<profiles>
8989
<profile>
9090
<id>release</id>
91-
<activation>
92-
<activeByDefault>true</activeByDefault>
93-
</activation>
9491
<distributionManagement>
9592
<snapshotRepository>
9693
<id>oss</id>
@@ -107,9 +104,10 @@
107104
<plugin>
108105
<groupId>org.apache.maven.plugins</groupId>
109106
<artifactId>maven-source-plugin</artifactId>
110-
<version>3.0.1</version>
107+
<version>3.2.1</version>
111108
<executions>
112109
<execution>
110+
<id>oss</id>
113111
<phase>package</phase>
114112
<goals>
115113
<goal>jar-no-fork</goal>
@@ -138,16 +136,28 @@
138136
<version>1.6</version>
139137
<executions>
140138
<execution>
141-
<id>sign-artifacts</id>
139+
<id>oss</id>
142140
<phase>verify</phase>
143141
<goals>
144142
<goal>sign</goal>
145143
</goals>
146144
</execution>
147145
</executions>
148146
</plugin>
147+
<plugin>
148+
<groupId>org.sonatype.plugins</groupId>
149+
<artifactId>nexus-staging-maven-plugin</artifactId>
150+
<version>1.6.8</version>
151+
<extensions>true</extensions>
152+
<configuration>
153+
<serverId>oss</serverId>
154+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
155+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
156+
</configuration>
157+
</plugin>
149158
</plugins>
150159
</build>
151160
</profile>
152161
</profiles>
162+
153163
</project>

src/main/java/com/r4v3zn/fofa/core/constants/FofaClientConsts.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,20 @@ public class FofaClientConsts {
3030
/**
3131
* Base FOFA Pro Api
3232
*/
33-
public static final String BASE_URL = "https://fofa.so";
33+
public static String BASE_URL = "https://fofapro.com";
3434

3535
/**
3636
* get user info uri
3737
*/
38-
public static final String GET_USER_INFO_URI = "/api/v1/info/my";
38+
public static String GET_USER_INFO_URI = "/api/v1/info/my";
3939

4040
/**
4141
* search uri
4242
*/
43-
public static final String SEARCH_URI = "/api/v1/search/all";
43+
public static String SEARCH_URI = "/api/v1/search/all";
4444

4545
/**
4646
* max size
4747
*/
48-
public static final Integer MAX_SIZE = 10000;
48+
public static Integer MAX_SIZE = 10000;
4949
}

target/apidocs/allclasses-frame.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="zh">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_171) on Thu Jul 29 10:07:49 CST 2021 -->
5+
<!-- Generated by javadoc (1.8.0_171) on Thu Jan 27 18:23:05 CST 2022 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>所有类 (fofa-java 1.0.4.RELEASE API)</title>
8-
<meta name="date" content="2021-07-29">
7+
<title>所有类 (fofa-java 1.0.5.RELEASE API)</title>
8+
<meta name="date" content="2022-01-27">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<script type="text/javascript" src="script.js"></script>
1111
</head>

target/apidocs/allclasses-noframe.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="zh">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_171) on Thu Jul 29 10:07:49 CST 2021 -->
5+
<!-- Generated by javadoc (1.8.0_171) on Thu Jan 27 18:23:05 CST 2022 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>所有类 (fofa-java 1.0.4.RELEASE API)</title>
8-
<meta name="date" content="2021-07-29">
7+
<title>所有类 (fofa-java 1.0.5.RELEASE API)</title>
8+
<meta name="date" content="2022-01-27">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<script type="text/javascript" src="script.js"></script>
1111
</head>

target/apidocs/com/r4v3zn/fofa/core/DO/FofaData.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<!-- NewPage -->
33
<html lang="zh">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_171) on Thu Jul 29 10:07:49 CST 2021 -->
5+
<!-- Generated by javadoc (1.8.0_171) on Thu Jan 27 18:23:04 CST 2022 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>FofaData (fofa-java 1.0.4.RELEASE API)</title>
8-
<meta name="date" content="2021-07-29">
7+
<title>FofaData (fofa-java 1.0.5.RELEASE API)</title>
8+
<meta name="date" content="2022-01-27">
99
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
1010
<script type="text/javascript" src="../../../../../script.js"></script>
1111
</head>
1212
<body>
1313
<script type="text/javascript"><!--
1414
try {
1515
if (location.href.indexOf('is-external=true') == -1) {
16-
parent.document.title="FofaData (fofa-java 1.0.4.RELEASE API)";
16+
parent.document.title="FofaData (fofa-java 1.0.5.RELEASE API)";
1717
}
1818
}
1919
catch(err) {
@@ -439,6 +439,6 @@ <h4>toString</h4>
439439
<!-- -->
440440
</a></div>
441441
<!-- ======== END OF BOTTOM NAVBAR ======= -->
442-
<p class="legalCopy"><small>Copyright &#169; 2021. All rights reserved.</small></p>
442+
<p class="legalCopy"><small>Copyright &#169; 2022. All rights reserved.</small></p>
443443
</body>
444444
</html>

target/apidocs/com/r4v3zn/fofa/core/DO/User.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<!-- NewPage -->
33
<html lang="zh">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_171) on Thu Jul 29 10:07:49 CST 2021 -->
5+
<!-- Generated by javadoc (1.8.0_171) on Thu Jan 27 18:23:04 CST 2022 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>User (fofa-java 1.0.4.RELEASE API)</title>
8-
<meta name="date" content="2021-07-29">
7+
<title>User (fofa-java 1.0.5.RELEASE API)</title>
8+
<meta name="date" content="2022-01-27">
99
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
1010
<script type="text/javascript" src="../../../../../script.js"></script>
1111
</head>
1212
<body>
1313
<script type="text/javascript"><!--
1414
try {
1515
if (location.href.indexOf('is-external=true') == -1) {
16-
parent.document.title="User (fofa-java 1.0.4.RELEASE API)";
16+
parent.document.title="User (fofa-java 1.0.5.RELEASE API)";
1717
}
1818
}
1919
catch(err) {
@@ -577,6 +577,6 @@ <h4>toString</h4>
577577
<!-- -->
578578
</a></div>
579579
<!-- ======== END OF BOTTOM NAVBAR ======= -->
580-
<p class="legalCopy"><small>Copyright &#169; 2021. All rights reserved.</small></p>
580+
<p class="legalCopy"><small>Copyright &#169; 2022. All rights reserved.</small></p>
581581
</body>
582582
</html>

0 commit comments

Comments
 (0)