Thursday, 10 August 2023

#Unable detect Wireless after disjoined domain

 Issue:

Computer unable to detect any wireless after disjoined domain. Wireless network policies applied in GPO.


Solution:

To resolve the issue, delete the deny wireless filter from CMD.

netsh wlan delete filter denyall infrastructure

netsh wlan delete filter denyall adhoc

Sunday, 28 May 2023

#Windows CA - the requested certificate is not supported by this ca

Certificate template does not show in certificate enrollment.


Error: The requested certificate template is not supported by this CA.

A valid certification authority (CA) configured to issue certificates based on this template cannot be located, or the CA does not support this operation, or the CA is not trusted.




Solution: Enable the certificate template.


1. Go to certification Authority.

2. Right click on certificate template, click on New, select Certificate Template to Issue.



3. Select your certificate template and click OK.




Wednesday, 22 March 2023

Gophish - Windows installation and configuration (phishing email)

Download link:

Gophish: Releases · gophish/gophish · GitHub

NSSM: NSSM - the Non-Sucking Service Manager


Copy and extract downloaded files

1. Extract the Gophish and NSSM files.


Edit the configuration

1. 


Use NSSM to install Gophish.exe as Windows services

1. Run CMD as administrator.

2. Navigate to nssm.exe. (nssm install gophish)


3. NSSM service installer will launch. 
4. From Application Path, navigate and select Gophish.exe.



5. Select install service.


6. From Windows services, start the gophish service.







Sunday, 8 January 2023

#VMware vCenter - log storage disk space full

Method 1: Increase disk space

1. Increase VCSA's virtual disk size.

2. Run the following command in VCSA. (Alt + F1 to enter shell)

For VCSA ver. 6.0

vpxd_servicecfg storage lvm autogrow

For VCSA ver. 6.5 or 6.7

/usr/lib/applmgmt/support/scripts/autogrow.sh


Method 2: Clean up disk space

1. To list file system disk space:

To list all disk space: df -h


or

To list disk exceed 75%: df -h | awk '0+$5 >=75 {print}'



2. Remove the catalina*log and localhost_access* from following paths.

/storage/log/vmware/sso/tomcat

/storage/log/vmware/eam/web

/storage/log/vmware/lookupsvc/tomcat    (for ver 7.0 only)

To list:

ls -lha catalina*log
ls -lha localhost_access*

To remove:

rm catalina*log
rm localhost_access*