Network

data class Network(val rasp: RASP)

Constructors

Link copied to clipboard
constructor(rasp: RASP)

Properties

Link copied to clipboard
Link copied to clipboard
val rasp: RASP

Functions

Link copied to clipboard

Determine if the bluetooth connector is enabled.

Link copied to clipboard
suspend fun hostsIsModified(): Boolean

Determine if the hosts file was modified.

Link copied to clipboard
@RequiresPermission(allOf = ["android.permission.ACCESS_COARSE_LOCATION", "android.permission.ACCESS_FINE_LOCATION", "android.permission.ACCESS_NETWORK_STATE", "android.permission.ACCESS_WIFI_STATE", "android.permission.SYSTEM_ALERT_WINDOW"])
suspend fun isConnectedToAnOpenWifi(): Boolean

Determine if an open WiFi is enabled.

Link copied to clipboard
@RequiresPermission(value = "android.permission.ACCESS_NETWORK_STATE")
suspend fun isPhishingURI(uri: Uri): Boolean

Determine if an URI is a phishing attempt.

Link copied to clipboard
@RequiresPermission(value = "android.permission.ACCESS_NETWORK_STATE")
fun networkConnectivityIsEnabled(): Boolean

Determine if an network connectivity is enabled.

Link copied to clipboard
suspend fun nfcIsEnabled(): Boolean

Determine if the Near-Field Communication (NFC) is enabled.

Link copied to clipboard

Determine if tracking is enabled, such as for location tracking.

Link copied to clipboard
@RequiresPermission(value = "android.permission.ACCESS_NETWORK_STATE")
suspend fun underARPPoisoningAttack(): Boolean

Determine if the device is currently under an ARP poisoning attack.

Link copied to clipboard
@RequiresPermission(value = "android.permission.ACCESS_NETWORK_STATE")
suspend fun underManInTheMiddleAttack(): Boolean

Determine if a Man-In-The-Middle attack is under way.

Link copied to clipboard
@RequiresPermission(value = "android.permission.ACCESS_NETWORK_STATE")
suspend fun underRogueAccessPoint(): Boolean

Determine if the device is currently under a Rogue Access Point.

Link copied to clipboard
@RequiresPermission(value = "android.permission.ACCESS_NETWORK_STATE")
suspend fun underRogueCellTower(): Boolean

Determine if the device is currently under a Rogue Cell Tower.

Link copied to clipboard
suspend fun vpnIsEnabled(): Boolean

Determine if a Virtual Private Network (VPN) is enabled.