Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //••••----------••••
- protected String yR5AdrMc(int lp,Boolean rng,int rngPrt,int prt,int tmo){
- // / // /// ////
- //You need older version
- //of Android OS to run
- //this function, it
- //uses Airplane Mode
- //toggling automatic
- //for stealth.
- //// /// // / //
- //lp = Total Loop
- //rng = do by a port range
- //rngPrt = the range of ports
- //prt = the single port to scan
- //tmo = timeout of connect
- // / // /// ///
- //Brought to you by
- //the Black Triangle Pilots
- //// /// // / //
- double[]nDy={1,1};
- int nRy[]={0,1,2,3,4,5,6,7,8,9,45};
- int rtPt=1;int rpt=1;
- String[]sRy={"","",""};
- Random rnd=new Random();
- Boolean apm=false;
- for(int v=0;v<lp;v++) {
- rpt=rnd.nextInt(100);
- if(rpt==0){
- rpt=rnd.nextInt(100);}
- if(rpt==0){
- rpt=rnd.nextInt(100);}
- for(int w=0;w<rpt;w++){
- nDy[0]=1;nDy[1]=1;
- for(int x = 0; x < 2; x++){
- sRy[x]="";}
- for(int y=0;y<4;y++){
- nRy[10]=rnd.nextInt(45);
- nDy[0]=nRy[rnd.nextInt(10)]%(Math.cos(nRy[10]*Math.ceil(7)/(Math.round(nRy[10]*Math.nextUp(6)))));
- nDy[0]=nDy[0]+(Math.ceil(nDy[0]+nRy[rnd.nextInt(10)])+(y*nRy[10]));
- if(nDy[0]>rnd.nextInt(122)){
- nDy[0]=nDy[0]+rnd.nextInt(122);
- if(nDy[0]>256){
- nDy[1]=nDy[0]-256;
- nDy[0]=nDy[1]-nDy[0];}}
- nDy[0]=Math.round(nDy[0]);
- if(nDy[0]==0.0){
- nDy[0]=rnd.nextInt(257);
- if(nDy[0]==0){
- nDy[0]=rnd.nextInt(257);}}
- sRy[0]=String.valueOf(nDy[0]);
- if(y<=2){
- sRy[1]=sRy[1]+sRy[0].substring(0,sRy[0].length()-1);}
- else{
- sRy[1]=sRy[1]+sRy[0].substring(0,sRy[0].length()-2);}}
- try{
- Socket sckt=new Socket();
- if(!rng){
- rtPt=prt;
- sckt.connect(new InetSocketAddress(sRy[1],rtPt),tmo);}
- else{
- rtPt=rnd.nextInt(rngPrt);
- sckt.connect(new InetSocketAddress(sRy[1],rtPt),tmo);}
- sckt.close();
- sRy[2]=sRy[2]+"\n"+sRy[1]+"/PortOpen: "+String.valueOf(rtPt);}
- catch(Exception ex){}}
- apm=Settings.System.getInt(getContentResolver(),Settings.System.AIRPLANE_MODE_ON,0)==1;
- Settings.System.putInt(getContentResolver(),Settings.System.AIRPLANE_MODE_ON,apm?0:1);
- Intent iN=new Intent(Intent.ACTION_AIRPLANE_MODE_CHANGED);
- iN.putExtra("state",!apm);
- sendBroadcast(iN);
- SystemClock.sleep(4000);
- iN.putExtra("state",true);
- SystemClock.sleep(6000);}
- return sRy[2];}
- //••••----------••••
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement