﷽
Monday, December 27, 2021
[FIX] multipathd error on Ubuntu 20.04.1
Friday, October 1, 2021
DST Root CA X3 Expiration (30 September 2021)
﷽
According to the given information in Let's Encrypt Official site which is reachable at the following url https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ the important message is From Sept 30th 2021 Let's Encrypts previous root certificate DST Root CA X3 (and it's R3 intermediate) will expire. It has been replaced by their ISRG Root X1 certificate (and replacement R3 intermediate).
Your connection is not private
Attackers might be trying to steal your information from {domain name}.
NET::ERR_CERT_AUTHORITY_INVALID
NET::ERR_CERT_DATE_INVALID
Saturday, May 1, 2021
Shrink XFS partition, simply possible ?
﷽
My colleague asking me how to resize/shrink his CentOs 7 /home partition which is 240 GB to 160 GB and then allocate the remaining free space to / (root). Well, actually we can't directly shrink XFS therefore what we can do is backup all the data on /home, delete it and then recreate the /home, here is what todo :
1. Backup the contents of /home
tar -czvf /data/home.tgz -C /home .
2. Test Backup
tar -tvf /data/home.tgz
3. Unmount home
umount /dev/mapper/cl-home
4. Remove the home logical volume
lvremove /dev/mapper/cl-home
5. Recreate logical volume for /home, format and mount it
lvcreate -L 160GB -n home cl
mkfs.xfs /dev/mapper/cl-home
mount /dev/mapper/cl-home /home
6. Extend /root
lvextend -r -l +100%FREE /dev/mapper/cl-root
7. Restore /home
tar -xzvf /data/home.tgz -C /home
8. Check /etc/fstab for any mapping of /home volume and ensure the file system type.
cat /etc/fstab
10. Ensure things already on their places.
$ lvdisplay
$ fdisk -l
$ mount -l
$ df -h
Walkthrough WebGoat Assignment Crypto Basics #8
﷽
- First run the docker as requested : docker run -d webgoat/assignments:findthesecret
- Hints is to escalate using su - , what about BF ing su ?, but we go arround the other way, what we do is escalating user in docker to root, here is what we need to do :
root:x:0:0:root:/root:/bin/bashdaemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologinbin:x:2:2:bin:/bin:/usr/sbin/nologinsys:x:3:3:sys:/dev:/usr/sbin/nologinsync:x:4:65534:sync:/bin:/bin/syncgames:x:5:60:games:/usr/games:/usr/sbin/nologinman:x:6:12:man:/var/cache/man:/usr/sbin/nologinlp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologinmail:x:8:8:mail:/var/mail:/usr/sbin/nologinnews:x:9:9:news:/var/spool/news:/usr/sbin/nologinuucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologinproxy:x:13:13:proxy:/bin:/usr/sbin/nologinwww-data:x:33:33:www-data:/var/www:/usr/sbin/nologinbackup:x:34:34:backup:/var/backups:/usr/sbin/nologinlist:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologinirc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologingnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologinnobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin_apt:x:100:65534::/nonexistent:/bin/falsewebgoat:x:1000:1000::/home/webgoat:
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologinbin:x:2:2:bin:/bin:/usr/sbin/nologinsys:x:3:3:sys:/dev:/usr/sbin/nologinsync:x:4:65534:sync:/bin:/bin/syncgames:x:5:60:games:/usr/games:/usr/sbin/nologinman:x:6:12:man:/var/cache/man:/usr/sbin/nologinlp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologinmail:x:8:8:mail:/var/mail:/usr/sbin/nologinnews:x:9:9:news:/var/spool/news:/usr/sbin/nologinuucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologinproxy:x:13:13:proxy:/bin:/usr/sbin/nologinwww-data:x:33:33:www-data:/var/www:/usr/sbin/nologinbackup:x:34:34:backup:/var/backups:/usr/sbin/nologinlist:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologinirc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologingnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologinnobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin_apt:x:100:65534::/nonexistent:/bin/falsewebgoat:x:0:0::/home/webgoat:
c) Copy edited test.passwd from localsystem to Container.
d) Access to Container.
root@42284f82e8ff:/# cd /root/root@42284f82e8ff:~# lsdefault_secret
root@42284f82e8ff:~# cat default_secretThisIsMySecretPassw0rdF0rY0u
f) Run decryption against given secret to default_secret file.
root@42284f82e8ff:~# echo "U2FsdGVkX199jgh5oANElFdtCxIEvdEvciLi+v+5loE+VCuy6Ii0b+5byb5DXp32RPmT02Ek1pf55ctQN+DHbwCPiVRfFQamDmbHBUpD7as=" | openssl enc -aes-256-cbc -d -a -kfile default_secret
Leaving passwords in docker images is not so secure
What is the unencrypted message : Leaving passwords in docker images is not so secure
and what is the name of the file that stored the password : default_secret
Sunday, February 28, 2021
SAP GUI Download
﷽
Hereby below is SAP GUI download link for those who might need it.
SAP GUI 7.50
Thursday, January 28, 2021
[Fix] Global Protect Client Install Error
﷽
You may experiencing the following error when trying to install Global Protect client on Microsoft based OS :
This advertised application will not be installed because it might be unsafe
Here is the simple solution :
1. Copy GlobalProtect*.msi installer to c:\
2. Open CMD and choose to Run as administrator
3. Type & run : cd c:\
4. Type & run : msiexec /i GlobalProtect*.msi /qb
That's it ... i hope this information will be helpful
40 Hadist Seputar Keluarga Samawa (Bagian 3)
﷽ Ustadz Yusuf Abu Ubaidah As-Sidawi hafizahullohuta'ala Masjid Al-Aziz Jl. Soekarno Hatta No. 662 Bandung Hadist 11 : Doa Orangtua Bu...
-
﷽ This is just a 5 minutes article on howto install Anydesk on Debian based Linux (Kali/Parrot/Ubuntu). # Update and preparation : $ s...
-
﷽ Walkthrough WebGoat Assignment Crypto Basics #8 : First run the docker as requested : docker run -d webgoat/assignments:findthesecret ...