Skip to content

Commit 6f45e17

Browse files
committed
Merge pull request #815 from SecUpwN/development
Unchaining WIP-Release v0.1.41-alpha
2 parents b44f7ed + 0000256 commit 6f45e17

149 files changed

Lines changed: 2144 additions & 1777 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CONTRIBUTING.md renamed to .github/CONTRIBUTING.md

Lines changed: 68 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
Thank you for contributing! Please select:
55

6-
* [Developing](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/CONTRIBUTING.md#developing)
7-
* [Translating](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/CONTRIBUTING.md#translating)
8-
* [Testing](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/CONTRIBUTING.md#testing)
9-
* [Formatting](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/CONTRIBUTING.md#formatting)
10-
* [Debugging](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/CONTRIBUTING.md#debugging)
11-
* [Seeking](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/CONTRIBUTING.md#seeking)
12-
* [Donating](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/CONTRIBUTING.md#donating)
13-
* [Respecting](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/CONTRIBUTING.md#code-of-conduct)
6+
* [Developing](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md#developing)
7+
* [Translating](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md#translating)
8+
* [Testing](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md#testing)
9+
* [Formatting](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md#formatting)
10+
* [Debugging](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md#debugging)
11+
* [Seeking](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md#seeking)
12+
* [Donating](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md#donating)
13+
* [Respecting](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md#code-of-conduct)
1414

1515
---
1616

@@ -142,23 +142,71 @@ Thank you for encouraging our developers!
142142

143143
#### Code of Conduct
144144

145-
As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
145+
**Our Pledge**
146146

147-
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.
147+
In the interest of fostering an open and welcoming environment, we as
148+
contributors and maintainers pledge to making participation in our project and
149+
our community a harassment-free experience for everyone, regardless of age, body
150+
size, disability, ethnicity, gender identity and expression, level of experience,
151+
nationality, personal appearance, race, religion, or sexual identity and
152+
orientation.
153+
154+
**Our Standards**
155+
156+
Examples of behavior that contributes to creating a positive environment
157+
include:
158+
159+
* Using welcoming and inclusive language
160+
* Being respectful of differing viewpoints and experiences
161+
* Gracefully accepting constructive criticism
162+
* Focusing on what is best for the community
163+
* Showing empathy towards other community members
148164

149165
Examples of unacceptable behavior by participants include:
150166

151-
* The use of sexualized language or imagery
152-
* Personal attacks
153-
* Trolling or insulting/derogatory comments
154-
* Public or private harassment
155-
* Publishing other's private information, such as physical or electronic addresses, without explicit permission
156-
* Other unethical or unprofessional conduct
167+
* The use of sexualized language or imagery and unwelcome sexual attention or
168+
advances
169+
* Trolling, insulting/derogatory comments, and personal or political attacks
170+
* Public or private harassment
171+
* Publishing others' private information, such as a physical or electronic
172+
address, without explicit permission
173+
* Other conduct which could reasonably be considered inappropriate in a
174+
professional setting
175+
176+
**Our Responsibilities**
177+
178+
Project maintainers are responsible for clarifying the standards of acceptable
179+
behavior and are expected to take appropriate and fair corrective action in
180+
response to any instances of unacceptable behavior.
181+
182+
Project maintainers have the right and responsibility to remove, edit, or
183+
reject comments, commits, code, wiki edits, issues, and other contributions
184+
that are not aligned to this Code of Conduct, or to ban temporarily or
185+
permanently any contributor for other behaviors that they deem inappropriate,
186+
threatening, offensive, or harmful.
187+
188+
**Scope**
189+
190+
This Code of Conduct applies both within project spaces and in public spaces
191+
when an individual is representing the project or its community. Examples of
192+
representing a project or community include using an official project e-mail
193+
address, posting via an official social media account, or acting as an appointed
194+
representative at an online or offline event. Representation of a project may be
195+
further defined and clarified by project maintainers.
196+
197+
**Enforcement**
157198

158-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
199+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
200+
reported by contacting the [project maintainer.](https://github.com/SecUpwN) All
201+
complaints will be reviewed and investigated and will result in a response that
202+
is deemed necessary and appropriate to the circumstances. The project team is
203+
obligated to maintain confidentiality with regard to the reporter of an incident.
204+
Further details of specific enforcement policies may be posted separately.
159205

160-
By adopting this Code of Conduct, project maintainers commit themselves to fairly and consistently applying these principles to every aspect of managing this project. Project maintainers who do not follow or enforce the Code of Conduct may be permanently removed from the project team.
206+
Project maintainers who do not follow or enforce the Code of Conduct in good
207+
faith may face temporary or permanent repercussions as determined by other
208+
members of the project's leadership.
161209

162-
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
210+
**Attribution**
163211

164-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting our [project maintainer](https://github.com/SecUpwN). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Maintainers are obligated to maintain confidentiality with regard to the reporter of an incident. This Code of Conduct is adapted from the [Contributor Covenant](https://github.com/ContributorCovenant/contributor_covenant).
212+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), Version 1.4

.github/ISSUE_TEMPLATE.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
>Thank you for your feedback! Please add below details so that we can help you a bit faster.
2+
3+
---
4+
5+
#### Agreements
6+
>Please check these boxes to ensure you've actually read and understood these important rules!
7+
8+
- [ ] **I have reviewed and accepted the [guidelines for contributing](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md) to this project.**
9+
- [ ] **I have searched the [open Issues](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/issues) and made sure I am not filing a duplicate.**
10+
- [ ] **I have read the notes on [debugging](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md#debugging) and will properly maintain this Issue.**
11+
12+
13+
---
14+
15+
#### Overview
16+
>Please add a short and easy to understand description of the Issue you've experienced here.
17+
18+
* `AIMSICD` version (see the `About` screen):
19+
* Phone and ROM running *current* release:
20+
* Link to logfile without identifyable data:
21+
22+
---
23+
24+
#### Reproduction
25+
>Please tell us the detailed steps on how to reproduce your Issue here.
26+
27+
---
28+
29+
#### References
30+
>If your Issue is related to any other existing Issues or pull requests, please link them here.
31+
32+
---
33+
34+
#### Screenshots
35+
>If you experienced visual glitches, please add a screenshot without metadata here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
>Thank you for submitting a pull request! Please add below details so that we can merge it faster.
2+
3+
---
4+
5+
#### Agreements
6+
>Please check these boxes to ensure you've actually read and understood these important rules!
7+
8+
- [ ] **I have reviewed and accepted the [guidelines for contributing](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/blob/development/.github/CONTRIBUTING.md) to this project.**
9+
- [ ] **I have reviewed and closely followed the [Style Guide](https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/wiki/Style-Guide) for this Android app.**
10+
11+
---
12+
13+
#### Overview
14+
>Please add a short and easy to understand description of your proposed changes here.
15+
16+
---
17+
18+
#### Classification
19+
>Please click the correct checkbox that applies best to classify your pull request.
20+
21+
- [ ] Bugfix (non-breaking change which fixes an existing issue)
22+
- [ ] New feature (non-breaking change which adds functionality)
23+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
24+
25+
---
26+
27+
#### References
28+
>If your pull request is related to or solves any existing Issues, please link them here.
29+
30+
---
31+
32+
#### Screenshots
33+
>If you have created visual changes, please add a screenshot without metadata here.

.travis.yml

Lines changed: 28 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,32 @@
55
# https://rkh.github.io/travis-encrypt/public/index.html
66
# ---------------------------------------------------------------
77

8-
# Travis CI Settings
9-
#-------------------
10-
118
language: android
12-
# Turning off caching to avoid caching Issues
13-
cache: false
14-
# Using the new Container-Based Infrastructure
159
sudo: false
10+
11+
cache:
12+
directories:
13+
- $HOME/.gradle/caches/
14+
- $HOME/.gradle/wrapper/
15+
before_cache:
16+
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
17+
1618
env:
1719
global:
18-
# Encrypted Tokens
19-
#-----------------
20-
21-
# Encrypted Coverity Scan Token
20+
# Encrypted Coverity Scan Token
2221
- secure: "jRKgZfeAxDhqDIrySBESiij3Ot9cmVQ4CMB+IVpmf7Xjfek6By1ba7Y1lgMdLRPgvLkj3k5mMx1BMx2yeSCBp/+TZJ6Ezj3EVJ6HS2ctkAH4KzsiqlSCKiRgfOqKgzfnftCkNzXCEE3XLVLcv4iT5Ru/EBG85kEDViGrDBP+PxA="
23-
# Encrypted internal chat Token
24-
notifications:
25-
hipchat:
26-
- secure: "I2XmQkFCyKZHW2NeClYyl3FND80YkqLtYo+Rn3ftS4xjEg6VfGgDv6AlvQ+b+oZg7RZI6nKia9OLZxAxVBOHw6UcJJnurJx4hfAIBZAihIiNpZPj1c9wGgv4D+M6zi3rgbJRZ2Tz6IKJvHC+CD3LApeJR9kH15lDWbD7YZ0UI7E="
22+
2723
android:
2824
components:
29-
# We are using the latest revision of Android SDK Tools
30-
- platform-tools
31-
- tools
32-
# The BuildTools version we are using for our project
33-
- build-tools-23.0.2
34-
- android-23
35-
# Additional components
36-
- extra-android-m2repository
25+
- platform-tools
26+
- tools
27+
- build-tools-23.0.2
28+
- android-23
29+
- extra-android-m2repository
3730

3831
before_install: 'openssl aes-256-cbc -K $encrypted_dc771c3300d2_key -iv $encrypted_dc771c3300d2_iv -in keystore.jks.enc -out keystore.jks -d || true'
3932

40-
4133
script: ./gradlew build check
42-
# Coverity Scan Settings
43-
#-----------------------
44-
45-
addons:
46-
coverity_scan:
47-
project:
48-
name: "SecUpwN/Android-IMSI-Catcher-Detector"
49-
notification_email: annoyed@coverity.notifications
50-
# Scan results: http://scan.coverity.com/projects/3346
51-
build_command_prepend: "./gradlew clean"
52-
build_command: "./gradlew build"
53-
branch_pattern: master
5434

5535
before_deploy:
5636
- cd AIMSICD/build/outputs/apk; ls -la; md5sum *-normal-release.apk > md5sum.txt; sha1sum *-normal-release.apk > sha1sum.txt; cd -
@@ -67,3 +47,16 @@ deploy:
6747
on:
6848
repo: SecUpwN/Android-IMSI-Catcher-Detector
6949
tags: true
50+
51+
addons:
52+
coverity_scan: #Scan results: http://scan.coverity.com/projects/3346
53+
project:
54+
name: "SecUpwN/Android-IMSI-Catcher-Detector"
55+
notification_email: annoyed@coverity.notifications
56+
build_command_prepend: "./gradlew clean"
57+
build_command: "./gradlew build"
58+
branch_pattern: master
59+
60+
notifications:
61+
hipchat:
62+
- secure: "I2XmQkFCyKZHW2NeClYyl3FND80YkqLtYo+Rn3ftS4xjEg6VfGgDv6AlvQ+b+oZg7RZI6nKia9OLZxAxVBOHw6UcJJnurJx4hfAIBZAihIiNpZPj1c9wGgv4D+M6zi3rgbJRZ2Tz6IKJvHC+CD3LApeJR9kH15lDWbD7YZ0UI7E="

AIMSICD/build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ android {
1414
buildToolsVersion '23.0.2'
1515

1616
defaultConfig {
17+
applicationId "com.SecUpwN.AIMSICD"
1718
minSdkVersion 16
1819
targetSdkVersion 19 // Do not change: Working Icons on Android 5+
19-
versionCode 40
20+
versionCode 41
2021
testApplicationId "com.SecUpwN.AIMSICD.test"
2122

2223
buildConfigField 'String', 'BUILD_NUMBER', (getBuildNumber() == null ? 'null' : "\"${buildNumber}\"")
@@ -79,9 +80,9 @@ dependencies {
7980
compile 'com.github.Stericson:RootShell:d708ae1f0a'
8081

8182
// Dependency Injection for Android
82-
compile 'io.freefair.android-injection:injection:1.0.0-rc2'
83-
compile 'io.freefair.android-injection:logging:1.0.0-rc2'
84-
compile 'io.freefair.android-injection:okhttp:1.0.0-rc2'
83+
compile 'io.freefair.android-injection:injection:2.0.0-beta1'
84+
compile 'io.freefair.android-injection:logging:2.0.0-beta1'
85+
compile 'io.freefair.android-injection:okhttp:2.0.0-beta1'
8586

8687
// OSMBonusPack library to interact with OpenStreetMap data
8788
compile 'com.github.MKergall.osmbonuspack:OSMBonusPack:v5.6'
@@ -112,4 +113,4 @@ String getBuildNumber() {
112113
}
113114

114115
return null;
115-
}
116+
}

AIMSICD/config/checkstyle/checkstyle.xml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,22 @@
1111

1212
<!-- Name Checks -->
1313
<module name="TreeWalker">
14-
<property name="severity" value="info" />
1514

16-
<module name="ConstantName" />
17-
<module name="LocalFinalVariableName" />
18-
<module name="LocalVariableName" />
19-
<module name="MemberName" />
20-
<module name="MethodName" />
21-
<module name="ParameterName" />
22-
<module name="StaticVariableName" />
23-
<module name="TypeName" />
15+
<!--module name="ConstantName" /-->
16+
<!--module name="LocalFinalVariableName" /-->
17+
<!--module name="LocalVariableName" /-->
18+
<!--module name="MemberName" /-->
19+
<!--module name="MethodName" /-->
20+
<!--module name="ParameterName" /-->
21+
<!--module name="StaticVariableName" /-->
22+
<!--module name="TypeName" /-->
23+
<module name="PackageName">
24+
<property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$" />
25+
</module>
2426
</module>
2527
<module name="TreeWalker">
2628

29+
2730
<!-- Checks for imports -->
2831
<!-- See http://checkstyle.sf.net/config_import.html -->
2932
<module name="AvoidStarImport" />
@@ -77,5 +80,14 @@
7780
<module name="MethodParamPad" />
7881
<module name="NoLineWrap" />
7982
<module name="NoWhitespaceAfter" />
83+
<module name="NoWhitespaceBefore" />
84+
<module name="ParenPad" />
85+
<module name="SeparatorWrap">
86+
<property name="tokens" value="DOT"/>
87+
<property name="option" value="nl"/>
88+
</module>
89+
<module name="TypecastParenPad" />
90+
<module name="WhitespaceAfter" />
91+
<module name="WhitespaceAround" />
8092
</module>
8193
</module>

AIMSICD/src/androidTest/java/com/SecUpwN/AIMSICD/test/GetProp.java renamed to AIMSICD/src/androidTest/java/com/secupwn/aimsicd/test/GetProp.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
* LICENSE: http://git.io/vki47 | TERMS: http://git.io/vki4o
44
* -----------------------------------------------------------
55
*/
6-
package com.SecUpwN.AIMSICD.test;
6+
package com.secupwn.aimsicd.test;
77

88
import android.test.ActivityInstrumentationTestCase2;
99
import android.util.Log;
1010

11-
import com.SecUpwN.AIMSICD.activities.DebugLogs;
11+
import com.secupwn.aimsicd.activities.DebugLogs;
1212

1313
import java.io.IOException;
1414

@@ -23,9 +23,12 @@ public GetProp() {
2323

2424
public void testGetPropsReturnsValue() throws IOException {
2525
DebugLogs activity = (DebugLogs) getActivity();
26-
try { Thread.sleep(1000); } catch (Exception e) {}
26+
try {
27+
Thread.sleep(1000);
28+
} catch (Exception e) {
29+
}
2730
String props = activity.getProp();
2831
Log.d("getprop", props);
2932
assertTrue(props.trim().length() > 0);
3033
}
31-
}
34+
}

AIMSICD/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
44
xmlns:tools="http://schemas.android.com/tools"
5-
package="com.SecUpwN.AIMSICD"
5+
package="com.secupwn.aimsicd"
66
tools:ignore="GoogleAppIndexingWarning">
77

88
<!--

0 commit comments

Comments
 (0)