Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
••••••
Sichere ProgrammierungLast week in Agent Security 1: We are not-a-mused!(29.09.2026 um 02:15 Uhr)
••••••••••
Sichere ProgrammierungLast week in Agent Security 1: We are not-a-mused!(29.09.2026 um 02:15 Uhr)
••••
Intelligence View
⚡ tsecurity.de Intelligence

Shell script to get public ip from VPN docker container

trying to create a shell script to schedule and run. But with what i have it keeps putting the local ip of the box in my txt file and leaving me at the bash prompt in my console. (commands work perfectly outside of the shell script so i…

0
↗ Quelle (reddit.com)
Reagiere als Erste:r — dein Feedback zählt!

trying to create a shell script to schedule and run. But with what i have it keeps putting the local ip of the box in my txt file and leaving me at the bash prompt in my console. (commands work perfectly outside of the shell script so i know what the ip should be). here is what i have, thoughts?

docker exec -it vpn /bin/bash

curl icanhazip.com >>vpn_publicip.txt

exit

also new to this so sorry if im way off.

thank you in advance.

submitted by /u/Agent0810
[link] [comments]
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Shell script to get public ip from VPN docker container

Thematisch verwandte Begriffe: Shell, script, public, from · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-101916 | @grpc/grpc-js implements the core functionality of gRPC purely in JavaS…
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag