You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I use sniffer "bettercap". When I run this program on a PC (Ubuntu or Kali) everything is fine, but in termux this program display the wrong time of events. My time zone is UTC+3 but this program display Greenwich mean time in termux. The console itself displays the time correctly. Also, calling 'date' is OK. export TZ=Europe/Minsk && sudo bettercap OR export TZ=$(getprop persist.sys.timezone) && sudo bettercap also does not help, although TZ is installed correctly.
P. S: I compiled bettercap locally in termux. Here are my commands: pkg install git golang libpcap-dev libusb-dev pkg-config export PKG_CONFIG=$PREFIX/bin/pkg-config && go get github.com/bettercap/bettercap cd ~/go/bin && mv bettercap $PREFIX/bin && chmod 0700 $PREFIX/bin/bettercap
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Time zone in programs does not correspond to local time
Time zone in program does not correspond to local time
Mar 11, 2019
Hi, I use sniffer "bettercap". When I run this program on a PC (Ubuntu or Kali) everything is fine, but in termux this program display the wrong time of events. My time zone is UTC+3 but this program display Greenwich mean time in termux. The console itself displays the time correctly. Also, calling 'date' is OK.
export TZ=Europe/Minsk && sudo bettercap
ORexport TZ=$(getprop persist.sys.timezone) && sudo bettercap
also does not help, although TZ is installed correctly.P. S: I compiled bettercap locally in termux. Here are my commands:
pkg install git golang libpcap-dev libusb-dev pkg-config
export PKG_CONFIG=$PREFIX/bin/pkg-config && go get github.com/bettercap/bettercap
cd ~/go/bin && mv bettercap $PREFIX/bin && chmod 0700 $PREFIX/bin/bettercap
The text was updated successfully, but these errors were encountered: