├── .buckconfig ├── .gitattributes ├── .gitignore ├── AndroidManifest.xml ├── App.js ├── Home.js ├── LICENSE ├── README.md ├── app.json ├── babel.config.js ├── index.js ├── metro.config.js ├── package-lock.json └── package.json /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | *.hprof 33 | 34 | # node.js 35 | # 36 | node_modules/ 37 | npm-debug.log 38 | yarn-error.log 39 | 40 | # BUCK 41 | buck-out/ 42 | \.buckd/ 43 | *.keystore 44 | !debug.keystore 45 | 46 | # Bundle artifacts 47 | *.jsbundle 48 | 49 | # CocoaPods 50 | /ios/Pods/ 51 | 52 | # Expo 53 | .expo/ 54 | web-build/ 55 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /App.js: -------------------------------------------------------------------------------- 1 | // import { StatusBar } from "expo-status-bar"; 2 | import React, { useEffect, useState } from "react"; 3 | import { 4 | StyleSheet, 5 | Text, 6 | View, 7 | Button, 8 | StatusBar, 9 | TouchableOpacity, 10 | Image, 11 | ToastAndroid, 12 | Linking, 13 | } from "react-native"; 14 | import axios from "axios"; 15 | import { NativeRouter, Route, Link } from "react-router-native"; 16 | import Modal from "react-native-modal"; 17 | import Home from "./Home"; 18 | import Clipboard from "@react-native-clipboard/clipboard"; 19 | 20 | export default function App() { 21 | const [online, setOnline] = useState(false); 22 | const Checkstatus = () => { 23 | axios 24 | .get("http://127.0.0.1:5000") 25 | .then((res) => { 26 | setOnline(true); 27 | }) 28 | .catch((err) => { 29 | setOnline(false); 30 | }); 31 | }; 32 | 33 | const init = ({}) => { 34 | return ( 35 | 36 | 39 | 40 | Proxy server is online 41 | 42 | 43 | 44 | 59 | connect to proxy 60 | 61 | 62 | 63 | 64 | 71 | { 73 | console.log("fdfgjg"); 74 | Linking.openURL("https://www.hacksec.in/privacy/"); 75 | }} 76 | > 77 | Privacy Policy 78 | 79 | { 81 | console.log("fdfgjg"); 82 | Linking.openURL("https://www.hacksec.in/terms/"); 83 | }} 84 | > 85 | Terms and conditions 86 | 87 | 88 | 89 | ); 90 | }; 91 | 92 | const [isModalVisible, setModalVisible] = useState(false); 93 | 94 | const toggleModal = () => { 95 | setModalVisible(!isModalVisible); 96 | }; 97 | 98 | const setup_sh = 99 | "curl -s -L https://raw.githubusercontent.com/burpdroid/burpdroid-proxy/main/setup.sh | bash"; 100 | 101 | const copyToClipboard = () => { 102 | Clipboard.setString(setup_sh); 103 | ToastAndroid.show("command copied successfully!", ToastAndroid.SHORT); 104 | }; 105 | 106 | useEffect(() => { 107 | StatusBar.setHidden(true); 108 | }, [online]); 109 | useEffect(() => { 110 | Checkstatus(); 111 | }); 112 | if (online) { 113 | return ( 114 | 115 | 116 | 117 | 118 | ); 119 | } else { 120 | return ( 121 | 122 | 129 | 130 | Proxy server is offline 131 | 132 | 140 | Please start the server first then press the connect to proxy 141 | 142 | 143 | 157 | Help 158 | 159 | 160 | 161 | 172 | 173 | 181 | 182 | 183 | Install termux from F-Droid. copy the given command below 184 | and paste it in your termux terminal. 185 | 186 | { 188 | Linking.openURL("https://www.hacksec.in/burpdroid.pdf"); 189 | }} 190 | > 191 | 192 | click here to see full setup tutorial 193 | 194 | 195 | 196 | 202 | 203 | copyToClipboard()}> 204 | 215 | 222 | Click here to copy the command 223 | 224 | 235 | 236 | 237 | 238 | 239 | To start proxy server type{" "} 240 | 243 | burpdroid 244 | {" "} 245 | in your termux terminal 246 | 247 | 248 | 257 | Close 258 | 259 | 260 | 261 | 262 |