Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

rm AndroidAgent moved to library in AgentTemplates

  • Loading branch information...
commit 5f79d77b145a97f68348f1bf0517249046bf9baa 1 parent 40334d0
georgiaw authored

Showing 262 changed files with 0 additions and 12,360 deletions. Show diff stats Hide diff stats

  1. BIN  .DS_Store
  2. +0 8 AgentTemplates/AndroidAgent/.classpath
  3. +0 33 AgentTemplates/AndroidAgent/.project
  4. +0 5 AgentTemplates/AndroidAgent/.settings/org.eclipse.jdt.core.prefs
  5. +0 71 AgentTemplates/AndroidAgent/AndroidManifest.xml
  6. BIN  AgentTemplates/AndroidAgent/assets/rageagainstthecage
  7. +0 71 AgentTemplates/AndroidAgent/bin/AndroidManifest.xml
  8. +0 2  AgentTemplates/AndroidAgent/bin/AndroidManifest.xml.d
  9. +0 14 AgentTemplates/AndroidAgent/bin/R.txt
  10. +0 10 AgentTemplates/AndroidAgent/bin/build.prop
  11. BIN  AgentTemplates/AndroidAgent/bin/classes.jar
  12. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/AlarmReceiver.class
  13. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/AndroidAgent.class
  14. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/AndroidAgentActivity.class
  15. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64$1.class
  16. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64$InputStream.class
  17. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64$OutputStream.class
  18. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64.class
  19. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/BuildConfig.class
  20. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Checkin.class
  21. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/CommandHandler.class
  22. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/ContactsGet.class
  23. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/GetGPS.class
  24. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/InternetPoller.class
  25. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase1$1.class
  26. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase1.class
  27. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase2$1.class
  28. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase2.class
  29. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/PictureService$1.class
  30. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/PictureService.class
  31. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$attr.class
  32. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$drawable.class
  33. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$id.class
  34. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$layout.class
  35. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$raw.class
  36. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$string.class
  37. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R.class
  38. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/SMSGet.class
  39. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/SMSReceiver.class
  40. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/SMSService.class
  41. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/ServiceAutoStarterr.class
  42. BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/WebUploadService.class
  43. BIN  AgentTemplates/AndroidAgent/bin/classes/jackpal/androidterm/Exec.class
  44. +0 3  AgentTemplates/AndroidAgent/bin/jarlist.cache
  45. +0 48 AgentTemplates/AndroidAgent/bin/proguard.txt
  46. BIN  AgentTemplates/AndroidAgent/bin/res/drawable-hdpi/ic_launcher.png
  47. BIN  AgentTemplates/AndroidAgent/bin/res/drawable-ldpi/ic_launcher.png
  48. BIN  AgentTemplates/AndroidAgent/bin/res/drawable-mdpi/ic_launcher.png
  49. +0 92 AgentTemplates/AndroidAgent/build.xml
  50. +0 10 AgentTemplates/AndroidAgent/gen/R.java.d
  51. +0 6 AgentTemplates/AndroidAgent/gen/com/bulbsecurity/framework/BuildConfig.java
  52. +0 37 AgentTemplates/AndroidAgent/gen/com/bulbsecurity/framework/R.java
  53. +0 17 AgentTemplates/AndroidAgent/jni/.svn/all-wcprops
  54. +0 96 AgentTemplates/AndroidAgent/jni/.svn/entries
  55. +0 32 AgentTemplates/AndroidAgent/jni/.svn/text-base/Android.mk.svn-base
  56. +0 350 AgentTemplates/AndroidAgent/jni/.svn/text-base/termExec.cpp.svn-base
  57. +0 12 AgentTemplates/AndroidAgent/jni/Android.mk
  58. +0 350 AgentTemplates/AndroidAgent/jni/termExec.cpp
  59. BIN  AgentTemplates/AndroidAgent/libs/armeabi/libandroidterm.so
  60. +0 3  AgentTemplates/AndroidAgent/lint.xml
  61. +0 10 AgentTemplates/AndroidAgent/local.properties
  62. BIN  AgentTemplates/AndroidAgent/obj/local/armeabi/libandroidterm.so
  63. +0 1  AgentTemplates/AndroidAgent/obj/local/armeabi/libstdc++.a
  64. BIN  AgentTemplates/AndroidAgent/obj/local/armeabi/objs/androidterm/termExec.o
  65. +0 199 AgentTemplates/AndroidAgent/obj/local/armeabi/objs/androidterm/termExec.o.d
  66. +0 20 AgentTemplates/AndroidAgent/proguard-project.txt
  67. +0 40 AgentTemplates/AndroidAgent/proguard.cfg
  68. +0 13 AgentTemplates/AndroidAgent/project.properties
  69. BIN  AgentTemplates/AndroidAgent/res/drawable-hdpi/ic_launcher.png
  70. BIN  AgentTemplates/AndroidAgent/res/drawable-ldpi/ic_launcher.png
  71. BIN  AgentTemplates/AndroidAgent/res/drawable-mdpi/ic_launcher.png
  72. +0 15 AgentTemplates/AndroidAgent/res/layout/camera_surface.xml
  73. +0 12 AgentTemplates/AndroidAgent/res/layout/main.xml
  74. +0 2  AgentTemplates/AndroidAgent/res/raw/config
  75. BIN  AgentTemplates/AndroidAgent/res/raw/rageagainstthecage
  76. +0 13 AgentTemplates/AndroidAgent/res/values/strings.xml
  77. +0 24 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/AlarmReceiver.java
  78. +0 35 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/AndroidAgent.java
  79. +0 21 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/AndroidAgentActivity.java
  80. +0 2,065 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/Base64.java
  81. +0 39 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/Checkin.java
  82. +0 149 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/CommandHandler.java
  83. +0 80 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/ContactsGet.java
  84. +0 95 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/GetGPS.java
  85. +0 115 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/InternetPoller.java
  86. +0 117 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/Phase1.java
  87. +0 89 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/Phase2.java
  88. +0 114 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/PictureService.java
  89. +0 83 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/SMSGet.java
  90. +0 54 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/SMSReceiver.java
  91. +0 54 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/SMSService.java
  92. +0 28 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/ServiceAutoStarterr.java
  93. +0 103 AgentTemplates/AndroidAgent/src/com/bulbsecurity/framework/WebUploadService.java
  94. +0 11 AgentTemplates/AndroidAgent/src/jackpal/androidterm/.svn/all-wcprops
  95. +0 62 AgentTemplates/AndroidAgent/src/jackpal/androidterm/.svn/entries
  96. +0 75 AgentTemplates/AndroidAgent/src/jackpal/androidterm/.svn/text-base/Exec.java.svn-base
  97. +0 75 AgentTemplates/AndroidAgent/src/jackpal/androidterm/Exec.java
  98. +0 8 AgentTemplates/MapsDemo/.classpath
  99. +0 33 AgentTemplates/MapsDemo/.project
  100. +0 108 AgentTemplates/MapsDemo/AndroidManifest.xml
  101. +0 108 AgentTemplates/MapsDemo/bin/AndroidManifest.xml
  102. +0 2  AgentTemplates/MapsDemo/bin/AndroidManifest.xml.d
  103. BIN  AgentTemplates/MapsDemo/bin/MapsDemo-debug-unaligned.apk
  104. +0 6 AgentTemplates/MapsDemo/bin/MapsDemo-debug-unaligned.apk.d
  105. BIN  AgentTemplates/MapsDemo/bin/MapsDemo-debug.apk
  106. BIN  AgentTemplates/MapsDemo/bin/MapsDemo.ap_
  107. +0 18 AgentTemplates/MapsDemo/bin/MapsDemo.ap_.d
  108. +0 18 AgentTemplates/MapsDemo/bin/R.txt
  109. +0 10 AgentTemplates/MapsDemo/bin/build.prop
  110. BIN  AgentTemplates/MapsDemo/bin/classes.dex
  111. +0 24 AgentTemplates/MapsDemo/bin/classes.dex.d
  112. BIN  AgentTemplates/MapsDemo/bin/classes/com/bulbsecurity/framework/R$drawable.class
  113. BIN  AgentTemplates/MapsDemo/bin/classes/com/bulbsecurity/framework/R$id.class
  114. BIN  AgentTemplates/MapsDemo/bin/classes/com/bulbsecurity/framework/R$layout.class
  115. BIN  AgentTemplates/MapsDemo/bin/classes/com/bulbsecurity/framework/R$raw.class
  116. BIN  AgentTemplates/MapsDemo/bin/classes/com/bulbsecurity/framework/R$string.class
  117. BIN  AgentTemplates/MapsDemo/bin/classes/com/bulbsecurity/framework/R.class
  118. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/apis/MapsDemo$1.class
  119. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/apis/MapsDemo.class
  120. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/apis/view/MapViewCompassDemo$1.class
  121. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/apis/view/MapViewCompassDemo$RotateView.class
  122. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/apis/view/MapViewCompassDemo$SmoothCanvas.class
  123. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/apis/view/MapViewCompassDemo.class
  124. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/apis/view/MapViewDemo.class
  125. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/google/apis/BuildConfig.class
  126. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/google/apis/R$attr.class
  127. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/google/apis/R$drawable.class
  128. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/google/apis/R$id.class
  129. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/google/apis/R$layout.class
  130. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/google/apis/R$raw.class
  131. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/google/apis/R$string.class
  132. BIN  AgentTemplates/MapsDemo/bin/classes/com/example/android/google/apis/R.class
  133. BIN  AgentTemplates/MapsDemo/bin/dexedLibs/annotations-077670cddd0aa36fcf35df43ca15a914.jar
  134. BIN  AgentTemplates/MapsDemo/bin/dexedLibs/classes-7ca929983ab4799e28f1ba3f0656cdfe.jar
  135. +0 3  AgentTemplates/MapsDemo/bin/jarlist.cache
  136. +0 60 AgentTemplates/MapsDemo/bin/proguard.txt
  137. BIN  AgentTemplates/MapsDemo/bin/res/drawable/app_sample_code.png
  138. +0 92 AgentTemplates/MapsDemo/build.xml
  139. +0 22 AgentTemplates/MapsDemo/default.properties
  140. +0 17 AgentTemplates/MapsDemo/gen/R.java.d
  141. +0 34 AgentTemplates/MapsDemo/gen/com/bulbsecurity/framework/R.java
  142. +0 6 AgentTemplates/MapsDemo/gen/com/example/android/google/apis/BuildConfig.java
  143. +0 41 AgentTemplates/MapsDemo/gen/com/example/android/google/apis/R.java
  144. +0 17 AgentTemplates/MapsDemo/jni/.svn/all-wcprops
  145. +0 96 AgentTemplates/MapsDemo/jni/.svn/entries
  146. +0 32 AgentTemplates/MapsDemo/jni/.svn/text-base/Android.mk.svn-base
  147. +0 350 AgentTemplates/MapsDemo/jni/.svn/text-base/termExec.cpp.svn-base
  148. +0 12 AgentTemplates/MapsDemo/jni/Android.mk
  149. +0 350 AgentTemplates/MapsDemo/jni/termExec.cpp
  150. +0 3  AgentTemplates/MapsDemo/lint.xml
  151. +0 10 AgentTemplates/MapsDemo/local.properties
  152. +0 20 AgentTemplates/MapsDemo/proguard-project.txt
  153. +0 16 AgentTemplates/MapsDemo/project.properties
  154. BIN  AgentTemplates/MapsDemo/res/drawable/app_sample_code.png
  155. +0 31 AgentTemplates/MapsDemo/res/layout/mapview.xml
  156. BIN  AgentTemplates/MapsDemo/res/raw/rageagainstthecage
  157. +0 25 AgentTemplates/MapsDemo/res/values/strings.xml
  158. +0 112 AgentTemplates/MapsDemo/src/com/example/android/apis/MapsDemo.java
  159. +0 552 AgentTemplates/MapsDemo/src/com/example/android/apis/view/MapViewCompassDemo.java
  160. +0 55 AgentTemplates/MapsDemo/src/com/example/android/apis/view/MapViewDemo.java
  161. BIN  AndroidAgent/.DS_Store
  162. +0 8 AndroidAgent/.classpath
  163. +0 33 AndroidAgent/.project
  164. +0 5 AndroidAgent/.settings/org.eclipse.jdt.core.prefs
  165. +0 71 AndroidAgent/AndroidManifest.xml
  166. BIN  AndroidAgent/assets/.DS_Store
  167. BIN  AndroidAgent/assets/rageagainstthecage
  168. BIN  AndroidAgent/bin/AndroidAgent.apk
  169. +0 71 AndroidAgent/bin/AndroidManifest.xml
  170. BIN  AndroidAgent/bin/classes.dex
  171. BIN  AndroidAgent/bin/classes/.DS_Store
  172. BIN  AndroidAgent/bin/classes/com/.DS_Store
  173. BIN  AndroidAgent/bin/classes/com/bulbsecurity/.DS_Store
  174. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/.DS_Store
  175. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/AlarmReceiver.class
  176. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/AndroidAgent.class
  177. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/AndroidAgentActivity.class
  178. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64$1.class
  179. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64$InputStream.class
  180. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64$OutputStream.class
  181. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64.class
  182. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/BuildConfig.class
  183. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/Checkin.class
  184. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/CommandHandler.class
  185. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/ContactsGet.class
  186. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/GetGPS.class
  187. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/InternetPoll.class
  188. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase1$1.class
  189. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase1.class
  190. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase2$1.class
  191. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase2.class
  192. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/PictureService$1.class
  193. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/PictureService.class
  194. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/R$attr.class
  195. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/R$drawable.class
  196. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/R$id.class
  197. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/R$layout.class
  198. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/R$raw.class
  199. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/R$string.class
  200. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/R.class
  201. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/SMSGet.class
  202. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/SMSReceiver.class
  203. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/SMSService.class
  204. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/ServiceAutoStarter.class
  205. BIN  AndroidAgent/bin/classes/com/bulbsecurity/framework/WebUploadService.class
  206. +0 11 AndroidAgent/bin/classes/jackpal/androidterm/.svn/all-wcprops
  207. +0 62 AndroidAgent/bin/classes/jackpal/androidterm/.svn/entries
  208. +0 75 AndroidAgent/bin/classes/jackpal/androidterm/.svn/text-base/Exec.java.svn-base
  209. BIN  AndroidAgent/bin/classes/jackpal/androidterm/Exec.class
  210. +0 3  AndroidAgent/bin/jarlist.cache
  211. BIN  AndroidAgent/bin/res/drawable-hdpi/ic_launcher.png
  212. BIN  AndroidAgent/bin/res/drawable-ldpi/ic_launcher.png
  213. BIN  AndroidAgent/bin/res/drawable-mdpi/ic_launcher.png
  214. BIN  AndroidAgent/bin/resources.ap_
  215. +0 6 AndroidAgent/gen/com/bulbsecurity/framework/BuildConfig.java
  216. +0 32 AndroidAgent/gen/com/bulbsecurity/framework/R.java
  217. +0 17 AndroidAgent/jni/.svn/all-wcprops
  218. +0 96 AndroidAgent/jni/.svn/entries
  219. +0 32 AndroidAgent/jni/.svn/text-base/Android.mk.svn-base
  220. +0 350 AndroidAgent/jni/.svn/text-base/termExec.cpp.svn-base
  221. +0 12 AndroidAgent/jni/Android.mk
  222. +0 350 AndroidAgent/jni/termExec.cpp
  223. BIN  AndroidAgent/libs/armeabi/libandroidterm.so
  224. BIN  AndroidAgent/obj/local/armeabi/libandroidterm.so
  225. +0 1  AndroidAgent/obj/local/armeabi/libstdc++.a
  226. BIN  AndroidAgent/obj/local/armeabi/objs/androidterm/termExec.o
  227. +0 199 AndroidAgent/obj/local/armeabi/objs/androidterm/termExec.o.d
  228. +0 40 AndroidAgent/proguard.cfg
  229. +0 12 AndroidAgent/project.properties
  230. BIN  AndroidAgent/res/drawable-hdpi/ic_launcher.png
  231. BIN  AndroidAgent/res/drawable-ldpi/ic_launcher.png
  232. BIN  AndroidAgent/res/drawable-mdpi/ic_launcher.png
  233. +0 15 AndroidAgent/res/layout/camera_surface.xml
  234. +0 12 AndroidAgent/res/layout/main.xml
  235. +0 2  AndroidAgent/res/raw/config
  236. BIN  AndroidAgent/res/raw/rageagainstthecage
  237. +0 8 AndroidAgent/res/values/strings.xml
  238. BIN  AndroidAgent/src/.DS_Store
  239. BIN  AndroidAgent/src/com/.DS_Store
  240. BIN  AndroidAgent/src/com/bulbsecurity/.DS_Store
  241. BIN  AndroidAgent/src/com/bulbsecurity/framework/.DS_Store
  242. +0 24 AndroidAgent/src/com/bulbsecurity/framework/AlarmReceiver.java
  243. +0 35 AndroidAgent/src/com/bulbsecurity/framework/AndroidAgent.java
  244. +0 20 AndroidAgent/src/com/bulbsecurity/framework/AndroidAgentActivity.java
  245. +0 2,065 AndroidAgent/src/com/bulbsecurity/framework/Base64.java
  246. +0 37 AndroidAgent/src/com/bulbsecurity/framework/Checkin.java
  247. +0 149 AndroidAgent/src/com/bulbsecurity/framework/CommandHandler.java
  248. +0 78 AndroidAgent/src/com/bulbsecurity/framework/ContactsGet.java
  249. +0 93 AndroidAgent/src/com/bulbsecurity/framework/GetGPS.java
  250. +0 106 AndroidAgent/src/com/bulbsecurity/framework/InternetPoll.java
  251. +0 117 AndroidAgent/src/com/bulbsecurity/framework/Phase1.java
  252. +0 89 AndroidAgent/src/com/bulbsecurity/framework/Phase2.java
  253. +0 114 AndroidAgent/src/com/bulbsecurity/framework/PictureService.java
  254. +0 81 AndroidAgent/src/com/bulbsecurity/framework/SMSGet.java
  255. +0 52 AndroidAgent/src/com/bulbsecurity/framework/SMSReceiver.java
  256. +0 54 AndroidAgent/src/com/bulbsecurity/framework/SMSService.java
  257. +0 27 AndroidAgent/src/com/bulbsecurity/framework/ServiceAutoStarter.java
  258. +0 99 AndroidAgent/src/com/bulbsecurity/framework/WebUploadService.java
  259. +0 11 AndroidAgent/src/jackpal/androidterm/.svn/all-wcprops
  260. +0 62 AndroidAgent/src/jackpal/androidterm/.svn/entries
  261. +0 75 AndroidAgent/src/jackpal/androidterm/.svn/text-base/Exec.java.svn-base
  262. +0 75 AndroidAgent/src/jackpal/androidterm/Exec.java
BIN  .DS_Store
Binary file not shown
8 AgentTemplates/AndroidAgent/.classpath
... ... @@ -1,8 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<classpath>
3   - <classpathentry kind="src" path="src"/>
4   - <classpathentry kind="src" path="gen"/>
5   - <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6   - <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
7   - <classpathentry kind="output" path="bin/classes"/>
8   -</classpath>
33 AgentTemplates/AndroidAgent/.project
... ... @@ -1,33 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<projectDescription>
3   - <name>AndroidAgent</name>
4   - <comment></comment>
5   - <projects>
6   - </projects>
7   - <buildSpec>
8   - <buildCommand>
9   - <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10   - <arguments>
11   - </arguments>
12   - </buildCommand>
13   - <buildCommand>
14   - <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15   - <arguments>
16   - </arguments>
17   - </buildCommand>
18   - <buildCommand>
19   - <name>org.eclipse.jdt.core.javabuilder</name>
20   - <arguments>
21   - </arguments>
22   - </buildCommand>
23   - <buildCommand>
24   - <name>com.android.ide.eclipse.adt.ApkBuilder</name>
25   - <arguments>
26   - </arguments>
27   - </buildCommand>
28   - </buildSpec>
29   - <natures>
30   - <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31   - <nature>org.eclipse.jdt.core.javanature</nature>
32   - </natures>
33   -</projectDescription>
5 AgentTemplates/AndroidAgent/.settings/org.eclipse.jdt.core.prefs
... ... @@ -1,5 +0,0 @@
1   -#Thu Feb 02 19:50:13 EST 2012
2   -eclipse.preferences.version=1
3   -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
4   -org.eclipse.jdt.core.compiler.compliance=1.5
5   -org.eclipse.jdt.core.compiler.source=1.5
71 AgentTemplates/AndroidAgent/AndroidManifest.xml
... ... @@ -1,71 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3   - package="com.bulbsecurity.framework"
4   - android:versionCode="1"
5   - android:versionName="1.0" >
6   -
7   - <uses-sdk android:minSdkVersion="4" />
8   - <uses-permission android:name="android.permission.RECEIVE_SMS"/>
9   - <uses-permission android:name="android.permission.SEND_SMS"/>
10   - <uses-permission android:name="android.permission.CAMERA"/>
11   - <uses-permission android:name="android.permission.READ_CONTACTS"/>
12   - <uses-permission android:name="android.permission.INTERNET"/>
13   - <uses-permission android:name="android.permission.READ_SMS"/>
14   - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
15   - <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
16   - <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
17   - <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
18   - <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
19   -
20   -
21   - <application
22   - android:icon="@drawable/ic_launcher"
23   - android:label="@string/app_name"
24   - android:name = ".AndroidAgent">
25   - <activity
26   - android:name="AndroidAgentActivity"
27   - android:label="@string/app_name" >
28   - <intent-filter>
29   - <action android:name="android.intent.action.MAIN" />
30   - <category android:name="android.intent.category.LAUNCHER" />
31   - </intent-filter>
32   - </activity>
33   - <receiver android:name="SMSReceiver">
34   - <intent-filter android:priority="999"><action android:name="android.provider.Telephony.SMS_RECEIVED" /></intent-filter>
35   - </receiver>
36   - <service android:name="SMSService">
37   -
38   - </service>
39   - <receiver android:name="ServiceAutoStarter">
40   - <intent-filter ><action android:name="android.intent.action.BOOT_COMPLETED"></action></intent-filter>
41   - </receiver>
42   - <receiver android:name="AlarmReceiver" android:process=":remote"></receiver>
43   - <service android:name="InternetPoll">
44   -
45   - </service>
46   - <service android:name="CommandHandler">
47   -
48   - </service>
49   - <service android:name="SMSGet">
50   -
51   - </service>
52   - <service android:name="ContactsGet">
53   -
54   - </service>
55   - <service android:name="WebUploadService">
56   -
57   - </service>
58   - <service android:name="PictureService">
59   -
60   - </service>
61   - <service android:name="GetGPS">
62   - </service>
63   - <service android:name="Checkin">
64   - </service>
65   - <service android:name="Phase1" android:process=":three">
66   - </service>
67   - <service android:name="Phase2" android:process=":two">
68   - </service>
69   - </application>
70   -
71   -</manifest>
BIN  AgentTemplates/AndroidAgent/assets/rageagainstthecage
Binary file not shown
71 AgentTemplates/AndroidAgent/bin/AndroidManifest.xml
... ... @@ -1,71 +0,0 @@
1   -<?xml version="1.0" encoding="utf-8"?>
2   -<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3   - package="com.bulbsecurity.framework"
4   - android:versionCode="1"
5   - android:versionName="1.0" >
6   -
7   - <uses-sdk android:minSdkVersion="4" />
8   - <uses-permission android:name="android.permission.RECEIVE_SMS"/>
9   - <uses-permission android:name="android.permission.SEND_SMS"/>
10   - <uses-permission android:name="android.permission.CAMERA"/>
11   - <uses-permission android:name="android.permission.READ_CONTACTS"/>
12   - <uses-permission android:name="android.permission.INTERNET"/>
13   - <uses-permission android:name="android.permission.READ_SMS"/>
14   - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
15   - <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
16   - <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
17   - <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
18   - <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
19   -
20   -
21   - <application
22   - android:icon="@drawable/ic_launcher"
23   - android:label="@string/app_name"
24   - android:name = ".AndroidAgent">
25   - <activity
26   - android:name="AndroidAgentActivity"
27   - android:label="@string/app_name" >
28   - <intent-filter>
29   - <action android:name="android.intent.action.MAIN" />
30   - <category android:name="android.intent.category.LAUNCHER" />
31   - </intent-filter>
32   - </activity>
33   - <receiver android:name="SMSReceiver">
34   - <intent-filter android:priority="999"><action android:name="android.provider.Telephony.SMS_RECEIVED" /></intent-filter>
35   - </receiver>
36   - <service android:name="SMSService">
37   -
38   - </service>
39   - <receiver android:name="ServiceAutoStarter">
40   - <intent-filter ><action android:name="android.intent.action.BOOT_COMPLETED"></action></intent-filter>
41   - </receiver>
42   - <receiver android:name="AlarmReceiver" android:process=":remote"></receiver>
43   - <service android:name="InternetPoll">
44   -
45   - </service>
46   - <service android:name="CommandHandler">
47   -
48   - </service>
49   - <service android:name="SMSGet">
50   -
51   - </service>
52   - <service android:name="ContactsGet">
53   -
54   - </service>
55   - <service android:name="WebUploadService">
56   -
57   - </service>
58   - <service android:name="PictureService">
59   -
60   - </service>
61   - <service android:name="GetGPS">
62   - </service>
63   - <service android:name="Checkin">
64   - </service>
65   - <service android:name="Phase1" android:process=":three">
66   - </service>
67   - <service android:name="Phase2" android:process=":two">
68   - </service>
69   - </application>
70   -
71   -</manifest>
2  AgentTemplates/AndroidAgent/bin/AndroidManifest.xml.d
... ... @@ -1,2 +0,0 @@
1   -/root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/bin/AndroidManifest.xml : \
2   -/root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/AndroidManifest.xml \
14 AgentTemplates/AndroidAgent/bin/R.txt
... ... @@ -1,14 +0,0 @@
1   -int drawable ic_launcher 0x7f020000
2   -int id surface_camera 0x7f060000
3   -int layout camera_surface 0x7f030000
4   -int layout main 0x7f030001
5   -int raw config 0x7f040000
6   -int raw rageagainstthecage 0x7f040001
7   -int string app_name 0x7f050001
8   -int string controlIP 0x7f050005
9   -int string controlnumber 0x7f050004
10   -int string controlpath 0x7f050007
11   -int string hello 0x7f050000
12   -int string key 0x7f050003
13   -int string picture 0x7f050002
14   -int string urii 0x7f050006
10 AgentTemplates/AndroidAgent/bin/build.prop
... ... @@ -1,10 +0,0 @@
1   -#Last build type
2   -#Tue, 11 Dec 2012 15:44:25 -0500
3   -
4   -build.last.target=debug
5   -
6   -build.last.is.instrumented=false
7   -
8   -build.last.is.packaging.debug=true
9   -
10   -build.last.is.signing.debug=true
BIN  AgentTemplates/AndroidAgent/bin/classes.jar
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/AlarmReceiver.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/AndroidAgent.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/AndroidAgentActivity.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64$1.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64$InputStream.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64$OutputStream.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Base64.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/BuildConfig.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Checkin.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/CommandHandler.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/ContactsGet.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/GetGPS.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/InternetPoller.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase1$1.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase1.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase2$1.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/Phase2.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/PictureService$1.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/PictureService.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$attr.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$drawable.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$id.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$layout.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$raw.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R$string.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/R.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/SMSGet.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/SMSReceiver.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/SMSService.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/ServiceAutoStarterr.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/com/bulbsecurity/framework/WebUploadService.class
Binary file not shown
BIN  AgentTemplates/AndroidAgent/bin/classes/jackpal/androidterm/Exec.class
Binary file not shown
3  AgentTemplates/AndroidAgent/bin/jarlist.cache
... ... @@ -1,3 +0,0 @@
1   -# cache for current jar dependecy. DO NOT EDIT.
2   -# format is <lastModified> <length> <SHA-1> <path>
3   -# Encoding is UTF-8
48 AgentTemplates/AndroidAgent/bin/proguard.txt
... ... @@ -1,48 +0,0 @@
1   -# view AndroidManifest.xml #generated:42
2   --keep class com.bulbsecurity.framework.AlarmReceiver { <init>(...); }
3   -
4   -# view AndroidManifest.xml #generated:21
5   --keep class com.bulbsecurity.framework.AndroidAgent { <init>(...); }
6   -
7   -# view AndroidManifest.xml #generated:25
8   --keep class com.bulbsecurity.framework.AndroidAgentActivity { <init>(...); }
9   -
10   -# view AndroidManifest.xml #generated:63
11   --keep class com.bulbsecurity.framework.Checkin { <init>(...); }
12   -
13   -# view AndroidManifest.xml #generated:46
14   --keep class com.bulbsecurity.framework.CommandHandler { <init>(...); }
15   -
16   -# view AndroidManifest.xml #generated:52
17   --keep class com.bulbsecurity.framework.ContactsGet { <init>(...); }
18   -
19   -# view AndroidManifest.xml #generated:61
20   --keep class com.bulbsecurity.framework.GetGPS { <init>(...); }
21   -
22   -# view AndroidManifest.xml #generated:43
23   --keep class com.bulbsecurity.framework.InternetPoll { <init>(...); }
24   -
25   -# view AndroidManifest.xml #generated:65
26   --keep class com.bulbsecurity.framework.Phase1 { <init>(...); }
27   -
28   -# view AndroidManifest.xml #generated:67
29   --keep class com.bulbsecurity.framework.Phase2 { <init>(...); }
30   -
31   -# view AndroidManifest.xml #generated:58
32   --keep class com.bulbsecurity.framework.PictureService { <init>(...); }
33   -
34   -# view AndroidManifest.xml #generated:49
35   --keep class com.bulbsecurity.framework.SMSGet { <init>(...); }
36   -
37   -# view AndroidManifest.xml #generated:33
38   --keep class com.bulbsecurity.framework.SMSReceiver { <init>(...); }
39   -
40   -# view AndroidManifest.xml #generated:36
41   --keep class com.bulbsecurity.framework.SMSService { <init>(...); }
42   -
43   -# view AndroidManifest.xml #generated:39
44   --keep class com.bulbsecurity.framework.ServiceAutoStarter { <init>(...); }
45   -
46   -# view AndroidManifest.xml #generated:55
47   --keep class com.bulbsecurity.framework.WebUploadService { <init>(...); }
48   -
BIN  AgentTemplates/AndroidAgent/bin/res/drawable-hdpi/ic_launcher.png
BIN  AgentTemplates/AndroidAgent/bin/res/drawable-ldpi/ic_launcher.png
BIN  AgentTemplates/AndroidAgent/bin/res/drawable-mdpi/ic_launcher.png
92 AgentTemplates/AndroidAgent/build.xml
... ... @@ -1,92 +0,0 @@
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<project name="AndroidAgentActivity" default="help">
3   -
4   - <!-- The local.properties file is created and updated by the 'android' tool.
5   - It contains the path to the SDK. It should *NOT* be checked into
6   - Version Control Systems. -->
7   - <property file="local.properties" />
8   -
9   - <!-- The ant.properties file can be created by you. It is only edited by the
10   - 'android' tool to add properties to it.
11   - This is the place to change some Ant specific build properties.
12   - Here are some properties you may want to change/update:
13   -
14   - source.dir
15   - The name of the source directory. Default is 'src'.
16   - out.dir
17   - The name of the output directory. Default is 'bin'.
18   -
19   - For other overridable properties, look at the beginning of the rules
20   - files in the SDK, at tools/ant/build.xml
21   -
22   - Properties related to the SDK location or the project target should
23   - be updated using the 'android' tool with the 'update' action.
24   -
25   - This file is an integral part of the build system for your
26   - application and should be checked into Version Control Systems.
27   -
28   - -->
29   - <property file="ant.properties" />
30   -
31   - <!-- if sdk.dir was not set from one of the property file, then
32   - get it from the ANDROID_HOME env var.
33   - This must be done before we load project.properties since
34   - the proguard config can use sdk.dir -->
35   - <property environment="env" />
36   - <condition property="sdk.dir" value="${env.ANDROID_HOME}">
37   - <isset property="env.ANDROID_HOME" />
38   - </condition>
39   -
40   - <!-- The project.properties file is created and updated by the 'android'
41   - tool, as well as ADT.
42   -
43   - This contains project specific properties such as project target, and library
44   - dependencies. Lower level build properties are stored in ant.properties
45   - (or in .classpath for Eclipse projects).
46   -
47   - This file is an integral part of the build system for your
48   - application and should be checked into Version Control Systems. -->
49   - <loadproperties srcFile="project.properties" />
50   -
51   - <!-- quick check on sdk.dir -->
52   - <fail
53   - message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable."
54   - unless="sdk.dir"
55   - />
56   -
57   - <!--
58   - Import per project custom build rules if present at the root of the project.
59   - This is the place to put custom intermediary targets such as:
60   - -pre-build
61   - -pre-compile
62   - -post-compile (This is typically used for code obfuscation.
63   - Compiled code location: ${out.classes.absolute.dir}
64   - If this is not done in place, override ${out.dex.input.absolute.dir})
65   - -post-package
66   - -post-build
67   - -pre-clean
68   - -->
69   - <import file="custom_rules.xml" optional="true" />
70   -
71   - <!-- Import the actual build file.
72   -
73   - To customize existing targets, there are two options:
74   - - Customize only one target:
75   - - copy/paste the target into this file, *before* the
76   - <import> task.
77   - - customize it to your needs.
78   - - Customize the whole content of build.xml
79   - - copy/paste the content of the rules files (minus the top node)
80   - into this file, replacing the <import> task.
81   - - customize to your needs.
82   -
83   - ***********************
84   - ****** IMPORTANT ******
85   - ***********************
86   - In all cases you must update the value of version-tag below to read 'custom' instead of an integer,
87   - in order to avoid having your file be overridden by tools such as "android update project"
88   - -->
89   - <!-- version-tag: 1 -->
90   - <import file="${sdk.dir}/tools/ant/build.xml" />
91   -
92   -</project>
10 AgentTemplates/AndroidAgent/gen/R.java.d
... ... @@ -1,10 +0,0 @@
1   -/root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/gen/com/bulbsecurity/framework/R.java \
2   - : /root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/res/drawable-mdpi/ic_launcher.png \
3   -/root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/res/values/strings.xml \
4   -/root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/res/raw/rageagainstthecage \
5   -/root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/res/raw/config \
6   -/root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/res/layout/camera_surface.xml \
7   -/root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/res/layout/main.xml \
8   -/root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/res/drawable-hdpi/ic_launcher.png \
9   -/root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/res/drawable-ldpi/ic_launcher.png \
10   -/root/Smartphone-Pentest-Framework/AgentTemplates/AndroidAgent/bin/AndroidManifest.xml \
6 AgentTemplates/AndroidAgent/gen/com/bulbsecurity/framework/BuildConfig.java
... ... @@ -1,6 +0,0 @@
1   -/** Automatically generated file. DO NOT MODIFY */
2   -package com.bulbsecurity.framework;
3   -
4   -public final class BuildConfig {
5   - public final static boolean DEBUG = true;
6   -}
37 AgentTemplates/AndroidAgent/gen/com/bulbsecurity/framework/R.java
... ... @@ -1,37 +0,0 @@
1   -/* AUTO-GENERATED FILE. DO NOT MODIFY.
2   - *
3   - * This class was automatically generated by the
4   - * aapt tool from the resource data it found. It
5   - * should not be modified by hand.
6   - */
7   -
8   -package com.bulbsecurity.framework;
9   -
10   -public final class R {
11   - public static final class attr {
12   - }
13   - public static final class drawable {
14   - public static int ic_launcher=0x7f020000;
15   - }
16   - public static final class id {
17   - public static int surface_camera=0x7f060000;
18   - }
19   - public static final class layout {
20   - public static int camera_surface=0x7f030000;
21   - public static int main=0x7f030001;
22   - }
23   - public static final class raw {
24   - public static int config=0x7f040000;
25   - public static int rageagainstthecage=0x7f040001;
26   - }
27   - public static final class string {
28   - public static int app_name=0x7f050001;
29   - public static int controlIP=0x7f050005;
30   - public static int controlnumber=0x7f050004;
31   - public static int controlpath=0x7f050007;
32   - public static int hello=0x7f050000;
33   - public static int key=0x7f050003;
34   - public static int picture=0x7f050002;
35   - public static int urii=0x7f050006;
36   - }
37   -}
17 AgentTemplates/AndroidAgent/jni/.svn/all-wcprops
... ... @@ -1,17 +0,0 @@
1   -K 25
2   -svn:wc:ra_dav:version-url
3   -V 25
4   -/svn/!svn/ver/2/trunk/jni
5   -END
6   -Android.mk
7   -K 25
8   -svn:wc:ra_dav:version-url
9   -V 36
10   -/svn/!svn/ver/2/trunk/jni/Android.mk
11   -END
12   -termExec.cpp
13   -K 25
14   -svn:wc:ra_dav:version-url
15   -V 38
16   -/svn/!svn/ver/2/trunk/jni/termExec.cpp
17   -END
96 AgentTemplates/AndroidAgent/jni/.svn/entries
... ... @@ -1,96 +0,0 @@
1   -10
2   -
3   -dir
4   -2
5   -http://z4root.googlecode.com/svn/trunk/jni
6   -http://z4root.googlecode.com/svn
7   -
8   -
9   -
10   -2010-12-01T07:34:11.699847Z
11   -2
12   -RyanZA
13   -
14   -
15   -
16   -
17   -
18   -
19   -
20   -
21   -
22   -
23   -
24   -
25   -
26   -
27   -f33f25c0-10e7-6a08-5e8f-43b52bb135da
28   -
29   -Android.mk
30   -file
31   -
32   -
33   -
34   -
35   -2012-03-01T03:41:55.000000Z
36   -5f4b41979e3507b457fbded5977cc5f4
37   -2010-12-01T07:34:11.699847Z
38   -2
39   -RyanZA
40   -
41   -
42   -
43   -
44   -
45   -
46   -
47   -
48   -
49   -
50   -
51   -
52   -
53   -
54   -
55   -
56   -
57   -
58   -
59   -
60   -
61   -1008
62   -
63   -termExec.cpp
64   -file
65   -
66   -
67   -
68   -
69   -2012-03-01T03:41:55.000000Z
70   -97ef07d72b7ee854644f7329485c7525
71   -2010-12-01T07:34:11.699847Z
72   -2
73   -RyanZA
74   -
75   -
76   -
77   -
78   -
79   -
80   -
81   -
82   -
83   -
84   -
85   -
86   -
87   -
88   -
89   -
90   -
91   -
92   -
93   -
94   -
95   -9076
96   -
32 AgentTemplates/AndroidAgent/jni/.svn/text-base/Android.mk.svn-base
... ... @@ -1,32 +0,0 @@
1   -#
2   -# Copyright (C) 2008 The Android Open Source Project
3   -#
4   -# Licensed under the Apache License, Version 2.0 (the "License");
5   -# you may not use this file except in compliance with the License.
6   -# You may obtain a copy of the License at
7   -#
8   -# http://www.apache.org/licenses/LICENSE-2.0
9   -#
10   -# Unless required by applicable law or agreed to in writing, software
11   -# distributed under the License is distributed on an "AS IS" BASIS,
12   -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   -# See the License for the specific language governing permissions and
14   -# limitations under the License.
15   -#
16   -
17   -# This makefile supplies the rules for building a library of JNI code for
18   -# use by our example of how to bundle a shared library with an APK.
19   -
20   -LOCAL_PATH:= $(call my-dir)
21   -include $(CLEAR_VARS)
22   -
23   -# This is the target being built.
24   -LOCAL_MODULE:= libandroidterm
25   -
26   -# All of the source files that we will compile.
27   -LOCAL_SRC_FILES:= \
28   - termExec.cpp
29   -
30   -LOCAL_LDLIBS := -ldl -llog
31   -
32   -include $(BUILD_SHARED_LIBRARY)
350 AgentTemplates/AndroidAgent/jni/.svn/text-base/termExec.cpp.svn-base
... ... @@ -1,350 +0,0 @@
1   -/*
2   - * Copyright (C) 2008 The Android Open Source Project
3   - *
4   - * Licensed under the Apache License, Version 2.0 (the "License");
5   - * you may not use this file except in compliance with the License.
6   - * You may obtain a copy of the License at
7   - *
8   - * http://www.apache.org/licenses/LICENSE-2.0
9   - *
10   - * Unless required by applicable law or agreed to in writing, software
11   - * distributed under the License is distributed on an "AS IS" BASIS,
12   - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   - * See the License for the specific language governing permissions and
14   - * limitations under the License.
15   - */
16   -
17   -/*
18   - * Copyright (C) 2007 The Android Open Source Project
19   - *
20   - * Licensed under the Apache License, Version 2.0 (the "License");
21   - * you may not use this file except in compliance with the License.
22   - * You may obtain a copy of the License at
23   - *
24   - * http://www.apache.org/licenses/LICENSE-2.0
25   - *
26   - * Unless required by applicable law or agreed to in writing, software
27   - * distributed under the License is distributed on an "AS IS" BASIS,
28   - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29   - * See the License for the specific language governing permissions and
30   - * limitations under the License.
31   - */
32   -
33   -#define LOG_TAG "Exec"
34   -
35   -#include "jni.h"
36   -#include <android/log.h>
37   -
38   -#define LOGI(...) do { __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__); } while(0)
39   -#define LOGW(...) do { __android_log_print(ANDROID_LOG_WARN, LOG_TAG, __VA_ARGS__); } while(0)
40   -#define LOGE(...) do { __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__); } while(0)
41   -
42   -#include <sys/types.h>
43   -#include <sys/ioctl.h>
44   -#include <sys/wait.h>
45   -#include <errno.h>
46   -#include <fcntl.h>
47   -#include <stdlib.h>
48   -#include <unistd.h>
49   -#include <termios.h>
50   -
51   -static jclass class_fileDescriptor;
52   -static jfieldID field_fileDescriptor_descriptor;
53   -static jmethodID method_fileDescriptor_init;
54   -
55   -typedef unsigned short char16_t;
56   -
57   -class String8 {
58   -public:
59   - String8() {
60   - mString = 0;
61   - }
62   -
63   - ~String8() {
64   - if (mString) {
65   - free(mString);
66   - }
67   - }
68   -
69   - void set(const char16_t* o, size_t numChars) {
70   - mString = (char*) malloc(numChars + 1);
71   - for (size_t i = 0; i < numChars; i++) {
72   - mString[i] = (char) o[i];
73   - }
74   - mString[numChars] = '\0';
75   - }
76   -
77   - const char* string() {
78   - return mString;
79   - }
80   -private:
81   - char* mString;
82   -};
83   -
84   -static int create_subprocess(const char *cmd, const char *arg0, const char *arg1,
85   - int* pProcessId)
86   -{
87   - char *devname;
88   - int ptm;
89   - pid_t pid;
90   -
91   - ptm = open("/dev/ptmx", O_RDWR); // | O_NOCTTY);
92   - if(ptm < 0){
93   - LOGE("[ cannot open /dev/ptmx - %s ]\n",strerror(errno));
94   - return -1;
95   - }
96   - fcntl(ptm, F_SETFD, FD_CLOEXEC);
97   -
98   - if(grantpt(ptm) || unlockpt(ptm) ||
99   - ((devname = (char*) ptsname(ptm)) == 0)){
100   - LOGE("[ trouble with /dev/ptmx - %s ]\n", strerror(errno));
101   - return -1;
102   - }
103   -
104   - pid = fork();
105   - if(pid < 0) {
106   - LOGE("- fork failed: %s -\n", strerror(errno));
107   - return -1;
108   - }
109   -
110   - if(pid == 0){
111   - close(ptm);
112   -
113   - int pts;
114   -
115   - setsid();
116   -
117   - pts = open(devname, O_RDWR);
118   - if(pts < 0) exit(-1);
119   -
120   - dup2(pts, 0);
121   - dup2(pts, 1);
122   - dup2(pts, 2);
123   -
124   - execl(cmd, cmd, arg0, arg1, NULL);
125   - exit(-1);
126   - } else {
127   - *pProcessId = (int) pid;
128   - return ptm;
129   - }
130   -}
131   -
132   -
133   -static jobject android_os_Exec_createSubProcess(JNIEnv *env, jobject clazz,
134   - jstring cmd, jstring arg0, jstring arg1, jintArray processIdArray)
135   -{
136   - const jchar* str = cmd ? env->GetStringCritical(cmd, 0) : 0;
137   - String8 cmd_8;
138   - if (str) {
139   - cmd_8.set(str, env->GetStringLength(cmd));
140   - env->ReleaseStringCritical(cmd, str);
141   - }
142   -
143   - str = arg0 ? env->GetStringCritical(arg0, 0) : 0;
144   - const char* arg0Str = 0;
145   - String8 arg0_8;
146   - if (str) {
147   - arg0_8.set(str, env->GetStringLength(arg0));
148   - env->ReleaseStringCritical(arg0, str);
149   - arg0Str = arg0_8.string();
150   - }
151   -
152   - str = arg1 ? env->GetStringCritical(arg1, 0) : 0;
153   - const char* arg1Str = 0;
154   - String8 arg1_8;
155   - if (str) {
156   - arg1_8.set(str, env->GetStringLength(arg1));
157   - env->ReleaseStringCritical(arg1, str);
158   - arg1Str = arg1_8.string();
159   - }
160   -
161   - int procId;
162   - int ptm = create_subprocess(cmd_8.string(), arg0Str, arg1Str, &procId);
163   -
164   - if (processIdArray) {
165   - int procIdLen = env->GetArrayLength(processIdArray);
166   - if (procIdLen > 0) {
167   - jboolean isCopy;
168   -
169   - int* pProcId = (int*) env->GetPrimitiveArrayCritical(processIdArray, &isCopy);
170   - if (pProcId) {
171   - *pProcId = procId;
172   - env->ReleasePrimitiveArrayCritical(processIdArray, pProcId, 0);
173   - }
174   - }
175   - }
176   -
177   - jobject result = env->NewObject(class_fileDescriptor, method_fileDescriptor_init);
178   -
179   - if (!result) {
180   - LOGE("Couldn't create a FileDescriptor.");
181   - }
182   - else {
183   - env->SetIntField(result, field_fileDescriptor_descriptor, ptm);
184   - }
185   -
186   - return result;
187   -}
188   -
189   -
190   -static void android_os_Exec_setPtyWindowSize(JNIEnv *env, jobject clazz,
191   - jobject fileDescriptor, jint row, jint col, jint xpixel, jint ypixel)
192   -{
193   - int fd;
194   - struct winsize sz;
195   -
196   - fd = env->GetIntField(fileDescriptor, field_fileDescriptor_descriptor);
197   -
198   - if (env->ExceptionOccurred() != NULL) {
199   - return;
200   - }
201   -
202   - sz.ws_row = row;
203   - sz.ws_col = col;
204   - sz.ws_xpixel = xpixel;
205   - sz.ws_ypixel = ypixel;
206   -
207   - ioctl(fd, TIOCSWINSZ, &sz);
208   -}
209   -
210   -static int android_os_Exec_waitFor(JNIEnv *env, jobject clazz,
211   - jint procId) {
212   - int status;
213   - waitpid(procId, &status, 0);
214   - int result = 0;
215   - if (WIFEXITED(status)) {
216   - result = WEXITSTATUS(status);
217   - }
218   - return result;
219   -}
220   -
221   -static void android_os_Exec_close(JNIEnv *env, jobject clazz, jobject fileDescriptor)
222   -{
223   - int fd;
224   - struct winsize sz;
225   -
226   - fd = env->GetIntField(fileDescriptor, field_fileDescriptor_descriptor);
227   -
228   - if (env->ExceptionOccurred() != NULL) {
229   - return;
230   - }
231   -
232   - close(fd);
233   -}
234   -
235   -
236   -static int register_FileDescriptor(JNIEnv *env)
237   -{
238   - class_fileDescriptor = env->FindClass("java/io/FileDescriptor");
239   -
240   - if (class_fileDescriptor == NULL) {
241   - LOGE("Can't find java/io/FileDescriptor");
242   - return -1;
243   - }
244   -
245   - field_fileDescriptor_descriptor = env->GetFieldID(class_fileDescriptor, "descriptor", "I");
246   -
247   - if (field_fileDescriptor_descriptor == NULL) {
248   - LOGE("Can't find FileDescriptor.descriptor");
249   - return -1;
250   - }
251   -
252   - method_fileDescriptor_init = env->GetMethodID(class_fileDescriptor, "<init>", "()V");
253   - if (method_fileDescriptor_init == NULL) {
254   - LOGE("Can't find FileDescriptor.init");
255   - return -1;
256   - }
257   - return 0;