farai 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +612 -672
- package/dist/cli/index.js.map +31 -29
- package/docker/kali/farai-proxy-init.sh +0 -2
- package/docker/kali/farai-proxy-teardown.sh +0 -1
- package/package.json +2 -1
|
@@ -38,6 +38,4 @@ iptables -t nat -A "$chain" -d 127.0.0.0/8 -j RETURN
|
|
|
38
38
|
iptables -t nat -A "$chain" -m owner --uid-owner "$proxy_user" -j RETURN
|
|
39
39
|
iptables -t nat -A "$chain" -p tcp -m multiport --dports "$tcp_ports" -j REDIRECT --to-ports "$redsocks_port"
|
|
40
40
|
iptables -t nat -C OUTPUT -p tcp -j "$chain" 2>/dev/null || iptables -t nat -A OUTPUT -p tcp -j "$chain"
|
|
41
|
-
iptables -C OUTPUT -p udp --dport 443 -j REJECT 2>/dev/null || iptables -A OUTPUT -p udp --dport 443 -j REJECT
|
|
42
|
-
|
|
43
41
|
echo "farai-proxy-init: transparent capture active on tcp $tcp_ports via 127.0.0.1:$proxy_port"
|
|
@@ -7,7 +7,6 @@ runtime_dir=/run/farai
|
|
|
7
7
|
iptables -t nat -D OUTPUT -p tcp -j "$chain" 2>/dev/null || true
|
|
8
8
|
iptables -t nat -F "$chain" 2>/dev/null || true
|
|
9
9
|
iptables -t nat -X "$chain" 2>/dev/null || true
|
|
10
|
-
iptables -D OUTPUT -p udp --dport 443 -j REJECT 2>/dev/null || true
|
|
11
10
|
|
|
12
11
|
if [ -s "$runtime_dir/redsocks.pid" ]; then
|
|
13
12
|
kill "$(cat "$runtime_dir/redsocks.pid")" 2>/dev/null || true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "farai",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Cyber-first freestyle local AI agent",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"ajv": "8.20.0",
|
|
64
64
|
"bun-pty": "0.4.10",
|
|
65
65
|
"entities": "7.0.1",
|
|
66
|
+
"figlet": "1.11.4",
|
|
66
67
|
"fuzzysort": "3.1.0",
|
|
67
68
|
"solid-js": "1.9.12"
|
|
68
69
|
},
|