$ keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 -dname "C=US, O=Android, CN=Android Debug"| import com.sun.org.apache.xml.internal.security.exceptions.Base64DecodingException; | |
| import com.sun.org.apache.xml.internal.security.utils.Base64; | |
| import java.security.InvalidKeyException; | |
| import java.security.KeyFactory; | |
| import java.security.KeyPair; | |
| import java.security.KeyPairGenerator; | |
| import java.security.NoSuchAlgorithmException; | |
| import java.security.PrivateKey; | |
| import java.security.PublicKey; | |
| import java.security.SecureRandom; |
| private void animateFadeInOut() { | |
| /* | |
| bgImageView.setImageBitmap( | |
| BitmapFactory.decodeResource(this.getResources(), R.drawable.bgimage) | |
| ); | |
| */ | |
| bgImageView.setColorFilter(Color.argb(255, 255, 255, 255)); | |
| bgImageView.setScaleType(ImageView.ScaleType.CENTER); | |
| bgImageView.setAlpha(0.7f); |
| import android.content.Context; | |
| import android.util.Log; | |
| import android.widget.Toast; | |
| /** | |
| * Created by rhony on 18/04/16. | |
| */ | |
| public class Logger { | |
| public static void log_i(String className, String message) { | |
| Log.i("TAG", " class : "+className+" \nMessage : "+message); |
| inline fun <reified T> T.logDebug(messages: String) { | |
| Log.d(T::class.java.simpleName, messages) | |
| } | |
| inline fun <reified T> T.logError(messages: String) { | |
| Log.e(T::class.java.simpleName, messages) | |
| } |
| @AndroidEntryPoint | |
| class LoginFragment : Fragment() { | |
| private val viewModel: LoginViewModel by viewModels() | |
| private val mainViewModel: MainViewModel by activityViewModels() | |
| override fun onResume() { | |
| super.onResume() | |
| Log.d(LoginFragment::class.java.simpleName, "${activityVM.testState}") | |
| } |
| // $ frida -l antiroot.js -U -f com.example.app --no-pause | |
| // CHANGELOG by Pichaya Morimoto (p.morimoto@sth.sh): | |
| // - I added extra whitelisted items to deal with the latest versions | |
| // of RootBeer/Cordova iRoot as of August 6, 2019 | |
| // - The original one just fucked up (kill itself) if Magisk is installed lol | |
| // Credit & Originally written by: https://codeshare.frida.re/@dzonerzy/fridantiroot/ | |
| // If this isn't working in the future, check console logs, rootbeer src, or libtool-checker.so | |
| Java.perform(function() { | |
| var RootPackages = ["com.noshufou.android.su", "com.noshufou.android.su.elite", "eu.chainfire.supersu", |
BitRadar is a powerful Android application designed to monitor and visualize your device's connectivity environment. It provides real-time insights into cellular networks, Wi-Fi connections, and Bluetooth device density, helping users understand their surrounding signal landscape and potential interference.
- Android API Documentation
- Learned how to read and utilize required classes from the official Android developer documentation.
This document describes a simple AI chatbot architecture used to assist infrastructure automation workflows, especially for testing sub-domain deployment using Terraform as Infrastructure as Code (IaC).
The main idea is to connect a chat-based interface with an agent runtime, an LLM provider, and a set of infrastructure tools, so the bot can receive a request, reason through the task, and help execute or prepare deployment-related actions.
flowchart LR