2024-06-09 00:07:05 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-06-09 02:25:11 +02:00
|
|
|
function receive() {
|
|
|
|
while true ; do
|
|
|
|
nc -lp "$1" | gpg -d --assert-signer B0F943A1A93444BFA8C030CCC36DCC0986B8748F | head -cn20000000 > "BaseBand-$2.jar.tmp" 2>> baseband_receiver.log \
|
|
|
|
|| continue
|
|
|
|
|
|
|
|
mv "BaseBand-$2.jar.tmp" "BaseBand-$2.jar"
|
|
|
|
sleep 5
|
|
|
|
done & disown
|
|
|
|
}
|
|
|
|
|
|
|
|
receive 3849 Broadway
|
|
|
|
receive 3848 Loader
|
|
|
|
receive 3847 Server
|