Category: Uncategorized
-
Go compile error checksum mismatch (lnd)
verifying github.com/btcsuite/btcd@v0.20.0-beta: checksum mismatch downloaded: h1:PamBMopnHxO2nEIsU89ibVVnqnXR2yFTgGNc+PdG68o= go.sum: h1:DnZGUjFbRkpytojHWwy6nfUSA7vFrzWXDLpFNzt74ZA= SECURITY ERROR This download does NOT match an earlier download recorded in go.sum. The bits may have been replaced on the origin server, or an attacker may have intercepted the download attempt. For more information, see ‘go help module-auth’.…
-
Track data usage using iptables
iptables -I INPUT 1 -s 1.0.0.9 -j ACCEPT iptables -I OUTPUT 1 -d 1.1.2.2 -j ACCEPT iptables -Z #CLEARCOUNTERS
-
Openvas service start timeout
Make sure to kill all redis apt-get purge –auto-remove openvas* apt-get install openvas wait for background tasks to complete ( watch ‘ps aux| grep -Ei vas|green|redis’) run openvas-setup on kali: the 1% complete problem: reduce concurrency (reset openvas password: openvasmd –user admin –new-password=karlo )
-
Centos 8 enable cockpit (minimal install)
yum install cockpit && systemctl enable –now cockpit.socket && sleep 4 && ss -nlap | grep 9090 >/dev/null 2>&1 && echo “https://$(hostname -i):9090/”
-
nc/netcat smtp servers (tcp/25) not responding to commands
EHLO x.x no reply WHY?! Talking to windows servers? send a CRLF by starting NC with -C
-
Libreoffice delete write protected content
Tools > Options > LibreOffice Writer > Formatting Aids > Remove tick from Protecting Areas / Enable cursor.
-
Fix “failed to start jnprTdi”
What I did: Remove ALL pulse related programs Also remove activex pulse programs Reinstall Import settings again manually
-
LVM device excluded by a filter (mpath / multipath )
first find out what is going on: pvcreate /dev/sdb -vvv 2>&1| less Look for errors. In my case it said the volume was mpath managed. So exclude from mpath, put the vi /etc/multipath.conf && systemctl restart multipathd.service Add a block at the bottom: blacklist { wwid WD40EFRX-68N32N0_WD-WCC7K2KD8PV5 wwid WD40EFRX-68N32N0_WD-WCC7K7NUFLSF } Find the WWID by doing:…
-
Virtualbox copy files and clipboard
right-ctrl – s (to open settings) general advanced shared clipboard bidirectional drag’n’drop bidirectional
-
xfce terminal unsafe paste
Disable: open terminal preferences -> clipboard (bottom first tab) -> uncheck
-
Spotify on fedora
dnf config-manager –add-repo=http://negativo17.org/repos/fedora-spotify.repo && yum update && yum -y install spotify-client
-
xfce4 terminal shortcut
open xfce4-settings-manager keyboard (while you are there, set Restore Num Lock on startup) application shortcuts add xfce4-terminal shortcut
-
Fix: Digital ID name cannot be found by underlying security system
I got this error when sending signed emails using my outlook cert by Digicert. Solution: Open certmgt Navigate to Personal/Certificates Delete the signing cert Import your cert from backup (or request a new one) Select again in Security center in outlook
-
Get x11 forwarding working on Centos 7 & Putty & Xming
Install xming Set up putty, use x forwarding, diplay loc localhost:0.0, rest is default Start xming On centos: Test using xclock. If $DISPLAY is not set you did it wrong. You can also test mobaxterm, it works well.
-
Auto root login Centos 7 / EL 7
sed -i ‘/ExecStart/ s/agetty/agetty –autologin root/’ /etc/systemd/system/getty.target.wants/getty@tty1.service
-
Set up TOTP/Google authenticator on Centos 7
Remember to keep an SSH session open (in a separate terminal) while doing this. yum install google-authenticator google-authenticator follow steps, save backup stuff vim /etc/ssh/sshd_config: ChallengeResponseAuthentication yes ; PermitRootLogin yes ; PasswordAuthentication yes vim /etc/pam.d/ssh, add “auth required pam_google_authenticator.so” after the auth line with password. Now you can also set up httpd to use this:…
-
Ovirt POSIX storage failing – Error while executing action Add Storage Connection: Problem while trying to mount target
umount the thing really, check mount tune2fs -O ^has_journal /dev/mapper/hdd-direct echo 1 > /proc/scsi/sg/allow_dio
-
Found ArcSight parser functions
Updated 2020-08-27 =__BASE64Decode=__LOOKUP=__byteArrayToIPv6=__byteArrayToIPv6String=__collection=__concatenate=__concatenateDeleting=__createGMTTimeStamp=__createLocalTimeStampFromGMT=__createLocalTimeStampFromGMTSecondsMillis=__createLocalTimeStampFromNTP=__createLocalTimeStampFromNanoSeconds=__createLocalTimeStampFromSecondsMicrosZone=__createLocalTimeStampFromSecondsSinceEpoch=__createLocalTimeStampStringFromGMTMilliseconds=__createLocalTimeStampStringFromLocalMilliseconds=__createOptionalTimeStampFromString=__createSafeLocalTimeStamp=__createTimeStamp=__createTimeStampByHexEncodedTime=__createTimeStampByStartTimeElapsed=__createTimeStampForOpsecStartTime=__doubleToAddress=__extractNTDomain=__extractNTUser=__extractProtocol=__foundScanHostName=__getCEFSeverity=__getDeviceDirection=__getIpV6AddressFromHighLow=__getIronMailActions=__getIronMailAlertImpact=__getIronMailEventStatus=__getLongMACAddressByHexString=__getLongMACAddressByString=__getManhuntPriority=__getNormalizedOS=__getNotZeroPort=__getOriginator=__getOriginatorFromSourcePort=__getProtocolName=__getProtocolNameFromString=__getSymantecNSPriority=__getTimeZone=__getTrendMicroHostName=__getTrendMircoUser=__getType=__getVendor=__getVulnerabilityCategory=__getXForceStringFor=__hexStringToAddress=__hexStringToIPV6Address=__hexStringToLong=__hexStringToString=__hourMinuteSecondsToSeconds=__ifAorBThenElse=__ifGreaterOrEqual=__ifThenElse=__ifThenElseAddress=__ifTrueThenElse=__ignoreZeroIp=__ignoreZeroMac=__integerConstant=__integerToAddressMcAfee=__integerToLong=__length=__longToDot4QuadAddress=__longToInteger=__longToString=__longToTimeStamp=__mazuProfilerDestinationAddress=__multilineRegexToken=__noDot4QuadStringsToAddress=__numberToAddress=__oneOf=__oneOfAddress=__oneOfDateTime=__oneOfHostName=__oneOfInteger=__oneOfLong=__oneOfMac=__oneOfNetBIOSName=__parseMultipleTimeStamp=__parseMutableTimeStamp=__parseMutableTimeStampSilently=__parseSignedLong=__regexToken=__regexTokenAsAddress=__regexTokenAsInteger=__regexTokenAsLong=__regexTokenFindAndJoin=__regexTokenNoWarning=__replaceAll=__replaceFirst=__safeToDate=__safeToDouble=__safeToInteger=__safeToLong=__safeToRoundedLong=__setYearToCurrentYear=__signedNumberToAddress=__simpleMap=__split=__splitAsAddress=__splitAsInteger=__stringConstant=__stringToIPv6Address=__stringTrim=__subParse=__sum=__toGMTTimeStamp=__toHex=__toLocalTimeStamp=__toLongTimeStamp=__toLowerCase=__toUpperCase=__uri=__useCurrentYear=__variableTypeToAddress=__verifyHexString