那个cl1024酷划邀请码是什么么?我怎么申请不了?

使用JAVA程序写出一个牛X的抢CL邀请码的方法 – YangBlog
当前位置&:& / /使用JAVA程序写出一个牛X的抢CL邀请码的方法
经常有在技术区发码的帖子,但是#邀请码#总要加一些限制,比如去掉两位,让我们来猜,谁猜的快或者谁运气好很快就能抢到,本人亲自试过,非常浪费时间,所以今天在技术区看到的程序转载过来,供大家分享。
下面是我用java写的一段代码,依赖apache的httpclient包,代码很简单,但是很实用,目前支持
1:技术区扫每一个帖子内疑似邀请码的内容,并自动注册.
2:支持2位以内数字或字母穷举,并注册.
希望能帮助到你,注册到属于自己的账号
—————————————
日 22:58:47
今天下班回来看有同学问我怎么用…汗呀…
我没封装成可执行文件,怕被说成病毒,违反规定.
首先你本机要有jdk,其次你要安装eclipse开发环境.
在其次去阿帕奇官方下载httpclient的jar包.
接下来把代码复制进去,右键-&Run as-&java application
还有同学说代码有问题,我故意挖坑?你放心,我真心没那个必要,我都注册到账号了,何必呢?写段代码一两个小时的事,没啥藏着掖着的.
还有同学问我图片怎么办,这个其实是一门很深的学问,叫ocr识别技术,集成进来不难,但没那个必要吧.
—————————————-
import java.io.*;
import java.net.URI;
import java.net.URISyntaxE
import java.util.*;
import java.util.regex.M
import java.util.regex.P
import org.apache.http.HttpE
import org.apache.http.HttpR
import org.apache.http.NameValueP
import org.apache.http.client.ClientProtocolE
import org.apache.http.client.HttpC
import org.apache.http.client.entity.UrlEncodedFormE
import org.apache.http.client.methods.HttpG
import org.apache.http.client.methods.HttpP
import org.apache.http.client.params.ClientPN
import org.apache.http.client.params.CookieP
import org.apache.http.impl.client.DefaultHttpC
import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnM
import org.apache.http.message.BasicNameValueP
import org.apache.http.util.EntityU
public class Client1024 {
public static void main( String[] args ) throws Exception{
//记录扫过的url,不在进入.
fout = new FileOutputStream(“d:/abc.txt” ,true );
pw = new PrintWriter(fout);
//CL有根据cookie来验证刷新时间不能小于两秒的规则,屏蔽cookie.
httpClient.getParams().setParameter( ClientPNames.COOKIE_POLICY, CookiePolicy.IGNORE_COOKIES );
//一次性验证某邀请码
//处理邀请码
List&String& list1 = createInvcode(&#eb#9a#6a342e”);
//注册账号
regis(list1);
//注掉下述3行即技术区逐个帖子扫
System.exit( 0 );
//获取所有url
Set &String&urlSet = queryUrls();
HttpGet contentHttpGet = new HttpGet();
while( !urlSet.isEmpty()){
for(Iterator &String&i = urlSet.iterator() ; i.hasNext() ;){
String str = i.next() ;
if(urlsSet.contains( str )){
witerAddress(str);
contentHttpGet.setURI( new URI(“/”+str) );
HttpResponse httpResponse =
httpResponse = httpClient.execute( contentHttpGet );
}catch(Exception e){
Thread.sleep( 1000*60 );
httpResponse = httpClient.execute( contentHttpGet );
System.out.println(“connection–&“+str);
HttpEntity entity = httpResponse.getEntity();
String source = new String(EntityUtils.toString(entity).getBytes(“iso-43;), “gbk”);
String source = “”;
Thread.sleep( 500 );
source = EntityUtils.toString(entity);
}catch(Exception e){
e.printStackTrace();
Pattern pattern = pile(“[a-f0-9]{16}”);
Matcher matcher = pattern.matcher(source);
while(matcher.find()){
String strTmp = matcher.group();
if( !codeSet.contains( strTmp ) ){
codeSet.add( strTmp );
List&String& list = createInvcode(strTmp);
//注册账号
regis(list);
urlsSet.addAll( urlSet );
urlSet = queryUrls();
* @author mengfanyu
* @data Nov 2, 2014
* @param args
* @throws IOException
* @throws ClientProtocolException
static HttpClient httpClient = new DefaultHttpClient(new ThreadSafeClientConnManager());
static HttpPost httpPost = new HttpPost(“/register.php”);
static HttpGet urlHttpGet = new HttpGet(“/thread0806.php?fid=7&search=1″);
static Set codeSet = new HashSet();
static Set urlsSet = new HashSet();
static FileOutputStream fout =
static PrintWriter pw =
static Map shzMap = new HashMap();
static Map xhzMap = new HashMap();
FileReader fr = new FileReader(“d:/abc.txt”);
BufferedReader br = new BufferedReader(fr);
String str = br.readLine();
while( null != str ){
urlsSet.add( str );
str = br.readLine();
fr.close();
}catch ( FileNotFoundException e ){
// TODO Auto-generated catch block
e.printStackTrace();
}catch ( IOException e ){
// TODO Auto-generated catch block
e.printStackTrace();
private static void witerAddress(String str) throws FileNotFoundException{
pw.println( str );
pw.flush();
private static Set queryUrls() throws ClientProtocolException, IOException, InterruptedException{
Set set = new HashSet();
HttpResponse httpResponse = httpClient.execute( urlHttpGet );
HttpEntity entity = httpResponse.getEntity();
String source = new String(EntityUtils.toString(entity).getBytes(“iso-43;), “gbk”);
String source = “”;
Thread.sleep( 1000 );
source = EntityUtils.toString(entity);
}catch(Exception e){
Pattern pattern = pile(“htm_data/.+html”);
Matcher matcher = pattern.matcher(source);
while(matcher.find()){
set.add( matcher.group());
private static void regis(List &String&list) throws ClientProtocolException, IOException{
for( int i = 0 ; i & list.size() ; i++ ){
String invcode = list.get( i ); //邀请码
System.out.println(invcode);
httpPost.setEntity( setPatams(invcode.toLowerCase())
HttpResponse httpResponse =
httpResponse = httpClient.execute( httpPost );
}catch(Exception e){
e.printStackTrace();
HttpEntity entity = httpResponse.getEntity();
String source = new String(EntityUtils.toString(entity).getBytes(“iso-43;), “gbk”);
if(source.contains( “邀請碼錯誤” ) == false
System.out.println(source);
System.err.println(“成功:”+invcode);
System.exit( 0 );
private static UrlEncodedFormEntity
setPatams( String invcode ) throws ClientProtocolException, IOException{
List&NameValuePair& nvps = new ArrayList&NameValuePair&();
nvps.add( new BasicNameValuePair(“regname”,”这里写你的用户名”) );
nvps.add( new BasicNameValuePair(“regpwd”,”这里写密码”) );
nvps.add( new BasicNameValuePair(“regpwdrepeat”,”这里写密码”) );
nvps.add( new BasicNameValuePair(“regemail”,”这里写邮箱”) );
nvps.add( new BasicNameValuePair(“invcode”,invcode) );
nvps.add( new BasicNameValuePair(“forward”,””) );
nvps.add( new BasicNameValuePair(“step”,+) );
return new UrlEncodedFormEntity(nvps );
* #为数字,@为字母
* @author mengfanyu
* @data Nov 2, 2014
* @param str
private static List createInvcode(String …strs){
List list = new ArrayList();
for( int i = 0 ; i & strs. i++){
String str = strs;
if(str.indexOf( “#” ) &= 0 && str.indexOf( “#” ) == str.lastIndexOf( “#” ) && str.indexOf( “@” ) == -1){ // 只存在一个#并且不存在@
for( int j = 0 ; j & 10 ; j++ ){
list.add( str.replace( “#” , j+”” ) );
}else if(str.indexOf( “#” ) &= 0 && str.indexOf( “#” ) != str.lastIndexOf( “#” ) && str.indexOf( “@” ) == -1){// 存在两个#并且不存在@
for( int j = 0 ; j & 10 ; j++ ){
String newStr = str.replaceFirst( “\\#” , j+”” );
for( int k = 0 ; k & 10 ; k++ ){
newStr.replaceFirst( “\\#” , k+”” ));
}else if(str.indexOf( “#” ) &= 0 && str.indexOf( “#” ) == str.lastIndexOf( “#” ) && str.indexOf( “@” ) &= 0 && str.indexOf( “@” ) == str.lastIndexOf( “@” )){ //存在一个#和一个@
for( int j = 0 ; j & 10 ; j++ ){
String newStr = str.replaceFirst( “\\#” , j+”” );
for( char a = ‘a’ ; a &= ‘z’ ; a++ ){
newStr.replaceFirst( “\\@” , a+”” ));
}else if(str.indexOf( “@” ) &= 0 && str.indexOf( “@” ) == str.lastIndexOf( “@” ) && str.indexOf( “#” ) == -1){ //存在一个@并且不存在#
for( char a = ‘a’ ; a &= ‘z’ ; a++ ){
str.replaceFirst( “\\@” , a+”” ));
}else if(str.indexOf( “@” ) &= 0 && str.indexOf( “@” ) != str.lastIndexOf( “@” ) && str.indexOf( “#” ) == -1){ //存在两个@并且不存在#
for( char a = ‘a’ ; a &= ‘z’ ; a++ ){
String newStr = str.replaceFirst( “\\@” , a+”” );
for( char b = ‘a’ ; b &= ‘z’ ; b++ ){
newStr.replaceFirst( “\\@” , b+”” ));
}else if(str.indexOf( “#” ) == -1 && str.indexOf( “@” )==-1 && str.indexOf( ” ” )&=0){ //既不存在#也不存@,使用排列组合
String strings[] = str.split( “\\s” );
int l = strings.
pai(strings,0,strings.length , list);
}else if(str.matches( “[u4e00-u9fa5]” )){
list.add( str );
list.add( str );
private static void pai( String[] str , int m , int n , List list ){
if( m & n ){
for( int i = 0 ; i &= i++ ){
pai( str , m + 1 , n ,list);
chang( str , m );
list.add( printArray(str));
private static void chang( String[] str , int m ){
String temp = str[0];
for( int i = 0 ; i & i++ ){
str = str[i + 1];
private static String printArray(String strs[]){
String str = “”;
for( int i = 0 ; i & strs. i++ ){
str += strs;
本文链接地址:
最近访客文章点击排行
- 7,229 views - 2,876 views - 2,252 views - 1,100 views - 1,094 views - 991 views - 928 views - 894 views - 804 views - 767 views我要1024CL邀请码多少钱一个淘宝交易
- 天宇问答百科论坛
我要1024CL邀请码多少钱一个淘宝交易
淘宝交易的如今功能受到限制 CL开端袭击交易邀请码的了 所以照样不要花钱买了
不区分大小写匿名
现在比较贵了,以前比较便宜
我这长期都有码,要的M我
我有邀请码,是淘宝交易,长期提供,要就找我
&在哪里交易不重要,重要的是码源要好。
很多淘宝卖码的也是骗子,给你的都是垃圾小号摘的根本就活不了。
出售1024邀请码caoliu注册码,不用再低声下气求人,不用花多时间论坛抢,有需要加微信:biaoshu666,确认有码后再打款!!!
此人为专业骗子
不会吧 &还要钱 &我都是直接去威信TD7667里面有 并且每天有邀请码给
cl1024/blog/jp 斜杠换成点,在IE打开即可
我有,很多, 要联系
相关知识等待您来回答
该问题来自:知识问答,游戏交流,生活百科,感情问答,健康问答购物领域专家
& &SOGOU - 京ICP证050897号CL1024邀请码专卖店的个人主页 | 果壳网 科技有意思
(C)2014果壳网&京ICP备号-2&京公网安备

我要回帖

更多关于 酷划邀请码是什么 的文章

 

随机推荐