โดยปกติถ้าเราติดตั้ง Powershell ใน Kali 2020 เป็นต้นมา จะเกิดปัญหาไม่สามารถลงได้ เพราะมัน required libicu57 ซึ่งมันเป็น library ที่เก่าแล้ว version ปัจจุบันคือ libicu63 มากกว่า โดยเราสามารถแก้ไข(+ติดตั้ง)ได้โดยตามนี้ 1.ติดตั้ง public key ของ Microsoft
2. Add source ของ Microsoft
…
1 |
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - |
1 |
echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" > /etc/apt/sources.list.d/powershell.list |
หากใช้คำสั่ง docker login แล้วเจอ error
หรือ
สามารถแก้ไขได้โดย 1) Install gnupg2 pass apt install gnupg2 pass 2) Download docker-credential-pass from https://github.com/docker/docker-credential-helpers/releases
3) Setup docker-credential-pass 3.1) install gpg and pass…
1 |
error getting credentials - err: exit status 1, out: `GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files` |
1 |
Error saving credentials: error storing credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY` |
1 2 3 |
tar -xvf docker-credential-pass.tar.gz chmod u+x docker-credential-pass mv docker-credential-pass /usr/bin |
หลังจากไม่ได้โพสต์มานานนนนนนมาก วันนี้อยากเอาวิธีการแปลง application แบบที่เรารับข้อมูลจากในเครื่องของเราให้กลายเป็นการรับข้อมูลแบบ network ขึ้นมาแทน โดยใช้ xinetd กัน โดยต้นฉบับของการทำผมเอามาจาก https://github.com/Eadom/ctf_xinetd นี่ครับ 1. Install Docker ในเครื่องให้เรียบร้อย (Link for How to install Docker on Ubuntu) 2. Download https://github.com/Eadom/ctf_xinetd 3. ในไฟล์ ctf.xinetd…
1. Convert and Merge splitted VMDK disk into 1 VMDK disk /Applications/VMware\ Fusion.app/Contents/Library/vmware-vdiskmanager -r target.vmdk -t 0 Merge.vmdk 2. Create bucket on GCP 3. Upload VMDK to Storage drive…
เมื่อเราต้องการจะ re-commit ใหม่ไปยัง Github ใหม่หลังจากเจอปัญหาเรื่อง big file สามารถทำได้โดยใช้คำสั่ง git filter-branch –index-filter ‘git rm -r –cached –ignore-unmatch <bigfilenam>’ HEAD git add * git commit -m “comment” git push
หลังจากที่สร้าง Virtualbox Machine มาเยอะแยะ แต่พอจะเอาไปใช้งานใน VMWare Hypervisor (ESXi) 6 ขึ้นมากลับพบปัญหาหลากหลายมาก เลยจะรวมวิธีแก้ไว้ตามปัญหา error ต่างๆดังต่อไปนี้ครับ 1. Unsupported virtual hardware device ahci ให้ทำการแก้โดยเปลี่ยนจาก
ให้เป็น
2. Unsupported hardware family ‘virtualbox2.2’ ให้แก้จาก
…
1 2 3 4 5 6 7 8 9 |
<Item> <rasd:Address>0</rasd:Address> <rasd:Caption>sataController0</rasd:Caption> <rasd:Description>SATA Controller</rasd:Description> <rasd:ElementName>SATAController0</rasd:ElementName> <rasd:InstanceID>5</rasd:InstanceID> <rasd:ResourceSubType>AHCI</rasd:ResourceSubType> <rasd:ResourceType>20</rasd:ResourceType> </Item> |
1 2 3 4 5 6 7 8 9 |
<Item> <rasd:Address>0</rasd:Address> <rasd:Caption>SCSIController0</rasd:Caption> <rasd:Description>SCSI Controller</rasd:Description> <rasd:ElementName>SCSIController0</rasd:ElementName> <rasd:InstanceID>5</rasd:InstanceID> <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType> <rasd:ResourceType>6</rasd:ResourceType> </Item> |
1 |
<vssd:VirtualSystemType>virtualbox-2.2</vssd:VirtualSystemType> |
There is no excerpt because this is a protected post.
There is no excerpt because this is a protected post.
There is no excerpt because this is a protected post.
There is no excerpt because this is a protected post.
Recent Comments