Java(旁站)
http://domains.yougetsignal.com//domains.php?remoteAddress=www.wooyun.org
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.util.Map;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
public class Test2 {
public static void main(String[] args) throws Exception{
Map<String,Object> json =
new Gson().fromJson(new BufferedReader(new InputStreamReader(
new URL("http://domains.yougetsignal.com/domains.php?remoteAddress=wooyun.org&key=&_=")
.openConnection().getInputStream())).readLine(),new TypeToken<Map<String, Object>>(){}.getType());
String ipaddress = json.get("remoteIpAddress").toString();
System.out.println(ipaddress);
String temp = json.get("domainArray").toString();
System.out.println(temp);
}
}