mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
717f236dce
Enhance wpadebug application to support scanning and displaying of QR codes. This depends on a third-party source: zxing (https://github.com/zxing/zxing). Shell command to launch scanner/viewer via wpadebug is: >adb root >adb shell Scanner: >am start -n w1.fi.wpadebug/w1.fi.wpadebug.QrCodeScannerActivity Viewer: >am start -n w1.fi.wpadebug/w1.fi.wpadebug.QrCodeDisplayActivity QR code string input/output file would be generated in '/sdcard/wpadebug_qrdata.txt' in the device. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
77 lines
3.4 KiB
XML
77 lines
3.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="w1.fi.wpadebug"
|
|
android:versionCode="1"
|
|
android:versionName="1.0">
|
|
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="17" />
|
|
<uses-permission android:name="android.permission.NFC" />
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<application android:label="wpadebug">
|
|
<activity android:name="w1.fi.wpadebug.MainActivity"
|
|
android:label="wpadebug">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="w1.fi.wpadebug.DisplayMessageActivity"
|
|
android:label="Operation result"
|
|
android:parentActivityName="w1.fi.wpadebug.MainActivity">
|
|
</activity>
|
|
<activity android:name="w1.fi.wpadebug.WpaNfcActivity"
|
|
android:label="wpa_supplicant NFC operation"
|
|
android:parentActivityName="w1.fi.wpadebug.MainActivity">
|
|
<intent-filter>
|
|
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
|
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
<data android:mimeType="application/vnd.wfa.wsc" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:name="w1.fi.wpadebug.CommandListActivity"
|
|
android:label="Command list"
|
|
android:parentActivityName="w1.fi.wpadebug.MainActivity">
|
|
</activity>
|
|
<activity android:name="w1.fi.wpadebug.WpaCommandListActivity"
|
|
android:label="WPA command list"
|
|
android:parentActivityName="w1.fi.wpadebug.MainActivity">
|
|
</activity>
|
|
<activity android:name="w1.fi.wpadebug.WpaCredActivity"
|
|
android:label="Credentials"
|
|
android:parentActivityName="w1.fi.wpadebug.MainActivity">
|
|
</activity>
|
|
<activity android:name="w1.fi.wpadebug.WpaCredEditActivity"
|
|
android:label="Credential"
|
|
android:parentActivityName="w1.fi.wpadebug.WpaCredActivity">
|
|
</activity>
|
|
<activity android:name="w1.fi.wpadebug.QrCodeScannerActivity"
|
|
android:label="QR Code Reader"
|
|
android:parentActivityName="w1.fi.wpadebug.MainActivity">
|
|
</activity>
|
|
<activity android:name="w1.fi.wpadebug.QrCodeDisplayActivity"
|
|
android:label="QR Code Display"
|
|
android:parentActivityName="w1.fi.wpadebug.MainActivity">
|
|
</activity>
|
|
<activity android:name="w1.fi.wpadebug.WpaWebViewActivity"
|
|
android:label="WebView"
|
|
android:launchMode="singleTop"
|
|
android:noHistory="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
</intent-filter>
|
|
</activity>
|
|
<receiver android:name="w1.fi.wpadebug.WifiReceiver">
|
|
<intent-filter>
|
|
<action android:name="android.net.wifi.STATE_CHANGE" />
|
|
<action android:name="android.net.wifi.RSSI_CHANGED" />
|
|
<action android:name="android.net.wifi.SCAN_RESULTS" />
|
|
<action android:name="android.net.wifi.supplicant.CONNECTION_CHANGE" />
|
|
<action android:name="android.net.wifi.supplicant.STATE_CHANGE" />
|
|
<action android:name="android.net.wifi.WIFI_STATE_CHANGED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
</application>
|
|
</manifest>
|