Catatan

C# button_click object sender

Imej
What is object sender, EventArgs e? https://www.codeproject.com/Questions/1068892/What-is-object-sender-EventArgs-e How to call a button click event from another method https://stackoverflow.com/a/14479279/10763264 Sample coding           void btnSBC_Click(object sender, EventArgs e)         {             String stncode = sender.ToString();             stncode = stncode.Substring(stncode.IndexOf(":") + 1);             stncode = stncode.Replace(" ", "");             System.Windows.Forms.Button btn = (System.Windows.Forms.Button)sender;             if(btn.BackColor.ToString() == "GreenYellow")             {                 Form9 f9 = new Form9(connects, "Enabled", stncode);                 f9.ShowDialog();             }             else {                 Form9 f9 = new Form9(connects, "Disabled", stncode);                 f9.ShowDialog();             }         }

Delete commit dalam git

 Cara delete commit di dalam git

Encrypting a Folder Using EFS

 https://konaylinit.wordpress.com/2020/05/07/5-5-guided-exercise-encrypting-a-folder-using-efs/#more-806

Analyzing Policies

Download from : https://techcommunity.microsoft.com/t5/microsoft-security-baselines/new-tool-policy-analyzer/ba-p/701049 Refer how to : https://arnaudloos.com/2018/intro-to-policy-analyzer/

Types of Attack

Ping death https://kb.intermedia.net/Article/819#:~:text=Microsoft%20Windows%20includes%20a%20tool,use%20via%20the%20command%20prompt.&text=Go%20to%20Start%20and%20type,Type%20nslookup%20and%20hit%20Enter. IP Spoofing Example - IP Spoofing - IP Spoofing Tutorial (Using VPN) https://www.wikitechy.com/tutorials/ethical-hacking/computer-hacking-tutorial/ip-spoofing 8 Best DDoS Attack Tools https://www.softwaretestinghelp.com/ddos-attack-tools/ What Is a Buffer Overflow? Learn About Buffer Overrun Vulnerabilities, Exploits & Attacks https://www.veracode.com/security/buffer-overflow Writing a Simple Buffer Overflow Exploit https://www.youtube.com/watch?v=oS2O75H57qU Session Hijacking Tools https://diarium.usal.es/pmgallardo/2020/10/26/list-of-session-hijacking-tools/

C#: Upload excel into database

Imej
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machines Error state as below; Solution: Install Microsoft Access database engine 2010 driver Rujukan :  https://stackoverflow.com/a/6649413/10763264 The given ColumnMapping does not match up with any column in the sources or destination Rujukan :  https://stackoverflow.com/questions/20228359/the-given-columnmapping-does-not-match-up-with-any-column-in-the-source-or-desti

Byte HEX C#

 00,50,00,00,00,00,00,01,00,01, 00,03,01,00,00,00,00,00,00,00, 00,00,00,00,00,01,00,01,02,00, 00,00,00,00,00,00,00,00,00,00, 00,02,00,01,03,00,00,00,00,00, 00,00,00,00,00,00,00,03,00,01, 04,00,00,00,00,00,00,00,00,00, 00,00,00,04,00,01,00,00,00,00, 00,00,00,00,00,00,00,00,d2,18