first commit.

This commit is contained in:
DXL
2019-09-24 18:39:43 +08:00
parent e18a916d52
commit 3c73f2c869
9740 changed files with 3269600 additions and 0 deletions
+116
View File
@@ -0,0 +1,116 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<codeStyleSettings language="XML">
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:android</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:id</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>style</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>ANDROID_ATTRIBUTE_ORDER</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>.*</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
</code_scheme>
</component>
+5
View File
@@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
</state>
</component>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" defaultCharsetForPropertiesFiles="GBK" addBOMForNewFiles="with NO BOM">
<file url="PROJECT" charset="UTF-8" />
</component>
</project>
+37
View File
@@ -0,0 +1,37 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="JavaDoc" enabled="true" level="WARNING" enabled_by_default="true">
<option name="TOP_LEVEL_CLASS_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
<option name="REQUIRED_TAGS" value="" />
</value>
</option>
<option name="INNER_CLASS_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
<option name="REQUIRED_TAGS" value="" />
</value>
</option>
<option name="METHOD_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
<option name="REQUIRED_TAGS" value="@return@param@throws or @exception" />
</value>
</option>
<option name="FIELD_OPTIONS">
<value>
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
<option name="REQUIRED_TAGS" value="" />
</value>
</option>
<option name="IGNORE_DEPRECATED" value="false" />
<option name="IGNORE_JAVADOC_PERIOD" value="true" />
<option name="IGNORE_DUPLICATED_THROWS" value="false" />
<option name="IGNORE_POINT_TO_ITSELF" value="false" />
<option name="myAdditionalJavadocTags" value="email,Date,ref" />
</inspection_tool>
<inspection_tool class="JniGetMethod" enabled="false" level="WARNING" enabled_by_default="false" />
</profile>
</component>
+43
View File
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value="android.annotation.NonNull" />
<option name="myNullables">
<value>
<list size="12">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.Nullable" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nullable" />
<item index="2" class="java.lang.String" itemvalue="javax.annotation.CheckForNull" />
<item index="3" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
<item index="4" class="java.lang.String" itemvalue="android.support.annotation.Nullable" />
<item index="5" class="java.lang.String" itemvalue="androidx.annotation.Nullable" />
<item index="6" class="java.lang.String" itemvalue="androidx.annotation.RecentlyNullable" />
<item index="7" class="java.lang.String" itemvalue="android.annotation.Nullable" />
<item index="8" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.qual.Nullable" />
<item index="9" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableDecl" />
<item index="10" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableType" />
<item index="11" class="java.lang.String" itemvalue="com.android.annotations.Nullable" />
</list>
</value>
</option>
<option name="myNotNulls">
<value>
<list size="11">
<item index="0" class="java.lang.String" itemvalue="org.jetbrains.annotations.NotNull" />
<item index="1" class="java.lang.String" itemvalue="javax.annotation.Nonnull" />
<item index="2" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.NonNull" />
<item index="3" class="java.lang.String" itemvalue="android.support.annotation.NonNull" />
<item index="4" class="java.lang.String" itemvalue="androidx.annotation.NonNull" />
<item index="5" class="java.lang.String" itemvalue="androidx.annotation.RecentlyNonNull" />
<item index="6" class="java.lang.String" itemvalue="android.annotation.NonNull" />
<item index="7" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.qual.NonNull" />
<item index="8" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NonNullDecl" />
<item index="9" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NonNullType" />
<item index="10" class="java.lang.String" itemvalue="com.android.annotations.NonNull" />
</list>
</value>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
</project>
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/RFID-Tools.iml" filepath="$PROJECT_DIR$/RFID-Tools.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
<module fileurl="file://$PROJECT_DIR$/chameleon/chameleon.iml" filepath="$PROJECT_DIR$/chameleon/chameleon.iml" />
<module fileurl="file://$PROJECT_DIR$/commapping/commapping.iml" filepath="$PROJECT_DIR$/commapping/commapping.iml" />
<module fileurl="file://$PROJECT_DIR$/console/console.iml" filepath="$PROJECT_DIR$/console/console.iml" />
<module fileurl="file://$PROJECT_DIR$/crapto1/crapto1.iml" filepath="$PROJECT_DIR$/crapto1/crapto1.iml" />
<module fileurl="file://$PROJECT_DIR$/freo/freo.iml" filepath="$PROJECT_DIR$/freo/freo.iml" />
<module fileurl="file://$PROJECT_DIR$/mfkey/mfkey.iml" filepath="$PROJECT_DIR$/mfkey/mfkey.iml" />
<module fileurl="file://$PROJECT_DIR$/mifaretag/mifaretag.iml" filepath="$PROJECT_DIR$/mifaretag/mifaretag.iml" />
<module fileurl="file://$PROJECT_DIR$/pm3iceman/pm3iceman.iml" filepath="$PROJECT_DIR$/pm3iceman/pm3iceman.iml" />
<module fileurl="file://$PROJECT_DIR$/pm3official/pm3official.iml" filepath="$PROJECT_DIR$/pm3official/pm3official.iml" />
<module fileurl="file://$PROJECT_DIR$/pm3parser/pm3parser.iml" filepath="$PROJECT_DIR$/pm3parser/pm3parser.iml" />
<module fileurl="file://$PROJECT_DIR$/pm3rdv4rrg/pm3rdv4rrg.iml" filepath="$PROJECT_DIR$/pm3rdv4rrg/pm3rdv4rrg.iml" />
<module fileurl="file://$PROJECT_DIR$/pn53x/pn53x.iml" filepath="$PROJECT_DIR$/pn53x/pn53x.iml" />
<module fileurl="file://$PROJECT_DIR$/utils/utils.iml" filepath="$PROJECT_DIR$/utils/utils.iml" />
</modules>
</component>
</project>
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>
Generated
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
<mapping directory="$PROJECT_DIR$/pm3rdv4rrg/src/main/cpp" vcs="Git" />
</component>
</project>
+36
View File
@@ -0,0 +1,36 @@
# RFID Tools
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
+85
View File
@@ -0,0 +1,85 @@
apply plugin: 'com.android.application'
android {
//签名文件配置
signingConfigs {
DXL {
keyAlias 'DXL'
keyPassword '15219233050'
storeFile file('D:/DXL_AS_KEY/DXL.jks')
storePassword '15219233050'
}
}
//构建项目的sdk版本
compileSdkVersion 29
//构建器版本
buildToolsVersion "29.0.2"
//一些默认的配置
defaultConfig {
//app的包名,也就是ID名。
applicationId "com.rfidresearchgroup.rfidtools"
//最低支持的版本
minSdkVersion 18
//目标的版本
targetSdkVersion 29
//单元测试的支持
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
//版本号,整形
versionCode 3
//版本名称,字符串!
versionName "1.3"
}
//构建的类型,发布版和测试版
buildTypes {
release {
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
signingConfig signingConfigs.DXL
}
debug {
shrinkResources false
signingConfig signingConfigs.DXL
minifyEnabled false
}
}
//编译器设置
compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
//checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
//abortOnError false
disable 'GoogleAppIndexingWarning'
}
}
//依赖库配置
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'org.jetbrains:annotations-java5:15.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.gridlayout:gridlayout:1.0.0'
implementation 'com.alibaba:fastjson:1.2.59'
implementation project(':freo')
implementation project(':utils')
implementation project(':mfkey')
implementation project(':pn53x')
implementation project(':crapto1')
implementation project(':console')
implementation project(':chameleon')
implementation project(':commapping')
implementation project(':pm3official')
implementation project(':pm3iceman')
implementation project(':pm3rdv4rrg')
/*单元测试支持导入!*/
testImplementation 'junit:junit:4.12'
}
Binary file not shown.
+110
View File
@@ -0,0 +1,110 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="cn.rrg.rdv">
<!--蓝牙使用-->
<uses-permission android:name="android.permission.BLUETOOTH" />
<!--蓝牙管理-->
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<!--定位权限-->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<!--定位权限-->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<!--写入文件-->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!--读取文件-->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!--NFC权限-->
<uses-permission android:name="android.permission.NFC" />
<!--手机信息-->
<!--<uses-permission android:name="android.permission.READ_PHONE_STATE" />-->
<!--网络连接-->
<!--<uses-permission android:name="android.permission.INTERNET" />-->
<!--网络状态-->
<!--<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />-->
<!--全局对话框-->
<!--<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />-->
<application
android:name="cn.dxl.common.application.App"
android:allowBackup="false"
android:icon="@drawable/rfid"
android:label="@string/app_name"
android:largeHeap="true"
android:theme="@style/AppTheme">
<!--初始化Activity-->
<activity android:name=".activities.tools.LoginActivity">
<intent-filter>
<!--桌面启动的意图!-->
<action android:name="android.intent.action.MAIN" />
<!--USB插入的意图!-->
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
<!--桌面启动的标签!-->
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<!--USB的支持类型静态注册!-->
<meta-data
android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
android:resource="@xml/device_filter" />
</activity>
<activity android:name=".activities.tools.KeyFileEditActivity" />
<activity android:name=".activities.tools.UnionActionActivity" />
<activity android:name=".activities.tools.DumpEqualActivity" />
<activity android:name=".activities.tools.DumpActivity" />
<activity android:name=".activities.tools.FormatCovertActivity" />
<activity android:name=".activities.tools.ChameleonSoltAliasesActivity" />
<activity android:name=".activities.tools.ToolsAccessActivity" />
<activity android:name=".activities.tools.AboutActicity" />
<activity android:name=".activities.px53x.EmulateConsoleActivity" />
<activity android:name=".activities.px53x.MfcukConsoleActivity" />
<activity android:name=".activities.px53x.MfocConsoleActivity" />
<activity android:name=".activities.px53x.NfcListConsoleActivity" />
<activity android:name=".activities.px53x.HardnestedConsoleActivity" />
<activity
android:name=".activities.tools.MfKey32ConsoleActivity"
android:configChanges="keyboardHidden|orientation|screenSize|screenLayout" />
<activity
android:name=".activities.tools.MfKey64ConsoleActivity"
android:configChanges="keyboardHidden|orientation|screenSize|screenLayout" />
<activity
android:name=".activities.proxmark3.rdv4_rrg.Proxmark3Rdv4RRGConsoleActivity"
android:configChanges="keyboardHidden|orientation|screenSize|screenLayout" />
<activity android:name=".activities.main.AppMainDevices" />
<activity
android:name=".activities.connect.Proxmark3Rdv4RRGConnectActivity"
android:configChanges="keyboardHidden|orientation|screenSize|screenLayout" />
<activity
android:name=".activities.main.Proxmark3Rdv4RRGMain"
android:configChanges="keyboardHidden|orientation|screenSize|screenLayout" />
<activity
android:name=".activities.proxmark3.rdv4_rrg.Proxmark3Rdv4RRGRedTeamConsoleActivity"
android:configChanges="keyboardHidden|orientation|screenSize|screenLayout" />
<activity android:name=".activities.main.GeneralNfcDeviceMain">
<!-- NFC Tech Filter -->
<intent-filter>
<action android:name="android.nfc.action.TECH_DISCOVERED" />
</intent-filter>
<meta-data
android:name="android.nfc.action.TECH_DISCOVERED"
android:resource="@xml/nfc_filter" />
</activity>
<activity android:name=".activities.tools.MainSettingsActivity" />
<activity android:name=".activities.connect.Acr122uHkUsbConnectActivity" />
<activity android:name=".activities.main.PN53XNfcMain" />
<activity android:name=".activities.main.PN53XReaderMain" />
<activity android:name=".activities.connect.PN532UartConnectActivity" />
<activity android:name=".activities.connect.ChameleonUsb2UartConnectActivity" />
<activity android:name=".activities.chameleon.ChameleonGUIActivity" />
<activity android:name=".activities.main.Proxmark3Rdv4RRGReaderMain" />
</application>
</manifest>
+35
View File
@@ -0,0 +1,35 @@
{
"group": [
[
{"name" : "Default"},
{"name": "Hf search", "cmd": "hf search"},
{"name": "Lf Search", "cmd": "lf search"},
{"name": "14a Reader", "cmd": "hf 14a reader"},
{"name": "Read T5577 info", "cmd": "lf t55xx detect\nlf t55xx info"},
{"name": "Dark Side Mifare", "cmd": "hf mf darkside"},
{"name": "Read T5577 Full", "cmd": "lf t55xx detect\nlf t55xx dump"},
{"name": "Check Mifare Keys", "cmd": "hf mf chk *1 ? d"},
{"name": "Mifare 1k Nested", "cmd": "hf mf nested 1 0 A FFFFFFFFFFFF d"},
{"name": "Mifare 1k Dump", "cmd": "hf mf dump"},
{"name": "Read iclass", "cmd": "hf iclass reader"},
{"name": "Dump iclass legacy", "cmd": "hf iclass dump k afa785a7dab33378"},
{"name": "Hardware Test", "cmd": "hw tune"}
],
[
{"name" : "High Frequency"},
{"name": "按钮名", "cmd": "命令"},
{"name": "按钮名", "cmd": "命令"},
{"name": "按钮名", "cmd": "命令"},
{"name": "按钮名", "cmd": "命令"},
{"name": "按钮名", "cmd": "命令"}
],
[
{"name" : "Low Frequency"},
{"name": "按钮名", "cmd": "命令"},
{"name": "按钮名", "cmd": "命令"},
{"name": "按钮名", "cmd": "命令"},
{"name": "按钮名", "cmd": "命令"},
{"name": "按钮名", "cmd": "命令"}
]
]
}
File diff suppressed because it is too large Load Diff
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More