Skip to content

Commit 81d0d1f

Browse files
committed
Enable SOCKS in Frida when raw tunnels are active
1 parent cdc834f commit 81d0d1f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/intercept/config/frida-config.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ class FridaConfig extends React.Component<{
394394
this.props.activateInterceptor({
395395
action: 'intercept',
396396
hostId: host.id,
397-
targetId
397+
targetId,
398+
enableSocks: this.props.accountStore!.featureFlags.includes('raw-tunnels')
398399
})
399400
.catch((e) => alertActivationError(`intercept ${targetId}`, e))
400401
.then(() => {

src/model/interception/frida.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ export interface FridaTarget {
1717
export type FridaActivationOptions =
1818
| { action: 'setup', hostId: string }
1919
| { action: 'launch', hostId: string }
20-
| { action: 'intercept', hostId: string, targetId: string };
20+
| { action: 'intercept', hostId: string, targetId: string, enableSocks: boolean };

0 commit comments

Comments
 (0)