Posts

Showing posts with the label PC tips

ping timestamp, 핑에 시간과 날짜 넣기

Image
연결테스트를 위해 핑을 날리는데 언제 연결에 장애가 생겼는지 확인하기 어렵다. 인터넷 연결테스트를 위해 구글에 핑을 날려보자 아래와 같이 시간이 표시되지않는다 연결의 노이스나 일시적장애를 확인하려면 시간대를 아는것이 중요하다. 아래와 같이 bat 파일을 만들어서 실해하면 시간도 나오게 할 수 있다 ping.bat 파일을 만들어 다음과 같이 넣어보자 (create ping.bat file then add scripts below:) @echo off     ping -t 8.8.8.8|find /v ""|cmd /q /v:on /c "for /l %%a in (0) do (set "data="&set /p "data="&if defined data echo(!time! !data!)" 어렵다면 pingwiz.exe 를 사용해보자 pingwiz.exe 8.8.8.8 /t 로 간단히 시간을 남길 수 있다 도움이되었다면 좋아요 부탁한다^^

Useful Windows 7 HOTKEYS

 Win + M will minimize     Win + D Will Show Desktop     Win+Up Maximize     Win+Down Restore / Minimize     Win+Left Snap to left     Win+Right Snap to right     Win+Shift+Left Jump to left monitor     Win+Shift+Right Jump to right monitor     Win+Home Minimize / Restore all other windows     Win+T Focus the first taskbar entry     Pressing again will cycle through them, you can can arrow around.     Win+Shift+T cycles backwards.     Win+Space Peek at the desktop     Win+G Bring gadgets to the top of the Z-order     Win+P External display options (mirror, extend desktop, etc)     Win+X Mobility Center (same as Vista, but still handy!)     Win+#     (# = a number key) Launches a new instance of the application in the Nth slot on the taskbar.     Example: Win+1 launches first pinned ap...

CMD - How to run screensaver command line (Windows)

Image
When you want to off the desk right away, you can simply Windows Key + L to lock it up and can walk away, but the screen isn't turned off until it becomes idle and If you are annoyed from waiting your system to become idle which can be minimized to 1 minute, you can turn your PC into screensaver right away from following: Start -> cmd -> run as admin dir *.scr * to list screensaver files then choose one of them to run Try one of the options available at the end of the file name /s – Start the screensaver in full-screen mode. /c – Show the configuration settings dialog box. /p #### – Display a preview of the screensaver using the specified window handle. Create a shortcut with shortcut key as the following:

How to Config SSL on Aapche2 of Ubuntu

#install openssl sudo apt-get install openssl #create key openssl genrsa -des3 -out server.key 2048 openssl req -new -days 365 -key server.key -out server.csr cp server.key server.key.org openssl rsa -in server.key.org -out server.key #activate ssl sudo a2enmod ssl sudo service apache2 restart #locate keys sudo mkdir /etc/apache2/ssl /etc/apache2/ssl/server.crt /etc/apache2/ssl/server.csr /etc/apache2/ssl/server.key #set permissions sudo chown -R root:root /etc/apache2/ssl sudo chmod 600 /etc/apache2/ssl/*.* sudo chmod 700 /etc/apache2/ssl #config your site with key location sudo cp /etc/apache2/sites-available/default-ssl /etc/apache2/sites-available/example.com sudo vi /etc/apache2/sites-available/example.com SSLEngine on SSLCertificateFile /etc/apache2/ssl/server.crt SSLCertificateKeyFile /etc/apache2/ssl/server.key sudo a2ensite example.com sudo service apache2 restart #redirection http to httpsNameVirtualHost *:80, add below at the end of the exam...

Install OpenSSL on apache (Linux)

Check if openssl is installed: rpm -qa openssl Create server.key openssl genrsa -des3 -out server.key 2048 Create server.csr openssl req -new -key server.key -out server.csr Remove password for convenience you will be asked password for each time the service starts if the password exits. cp server.key server.key.org openssl rsa -in server.key.org -out server.key list files created from typing " ll server* " -rw-r--r--. 1 root root 1054 Sep 20 07:53 server.csr -rw-r--r--. 1 root root 1679 Sep 20 07:56 server.key -rw-r--r--. 1 root root 1751 Sep 20 07:55 server.key.org Create certificate openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt cp server.key /etc/httpd/conf/ cp server.crt /etc/httpd/conf/ ll /etc/httpd/conf total 60 -rw-r--r--. 1 root root 34417 Sep 20 07:41 httpd.conf -rw-r--r--. 1 root root 13139 Feb 14  2012 magic -rw-r--r--. 1 root root  1298 Sep 20 08:45 server.crt -rw-r--r--. 1 root root...

Dealing with Ransomware

Image
Ransomware is embarrassing when pops up with asking money There are some solutions for this kind:  1. To break the encryption of the ransomware, it is almost impossible because normally they build it one way, so after money submitted, they would not give you the key, because the key might not exist from the beginning. If they built the ransomeware upon opensource then there might be solution in public as well. If you have lots of resources and computing power, you could try bruteforce for cracking the encryption, but not recommended 2. The most easy solution is to make a backup such as windows backup may help you to restore files and folders encrypted by ransomware, so a nice backup tool and plan should be considered.  (Make a backup upon that a user account does not have a right to edit such as password lock) Such as googledrive leaves a change history, so right before the recent change made in the change history you can use to restore when ransomeware encryp...

Remove Unwanted program TUCTLSystem.exe

sc config tuctlsystem start= demand Taskkill /IM TDepend.exe /F Taskkill /IM TDepend64.exe /F Taskkill /IM TUCTLSystem.exe /F del C:\Windows\SysWow64\TDepend.exe del C:\Windows\SysWow64\TDepend64.exe del C:\Windows\SysWow64\TUCTLSystem.exe  //when  ndv file is executed, it will start running until you will find out it consumes system resources. 

How to add environment variables on windows

[HKEY_CURRENT_USER\Environment]@="[value]" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment] @="value"

Reverse Engineering Malware Analysis

On-line Malware Analysis Articles You can learn a lot about malware analysis on-line. I wrote a number of articles on the topic, so allow me to walk you through them: Get started with my article  5 Steps to Building a Malware Analysis Toolkit Using Free Tools . If using virtualization software to set up your lab, take a look at  Using VMware for Malware Analysis . Read about the  3 Phases of Malware Analysis Process  to get an overview of the key aspects of the malware-reversing effort and a related article  Mastering 4 Stages of Malware Analysis . Got get a good sense for what typical output of the reversing process looks like, take a look at my post What to Include in a Malware Analysis Report  and at Anuj Soni's article  How to Track Your Malware Analysis Findings . As you continue to experiment with malware analysis, take a look at the cheat sheets I put together for  reverse-engineering malware  and  analyzing malicious docu...

HOW to remove WGA

1.  Type "SLMGR/REARM" on CMD 2.  Delete or rename two items:   WgaTray.exe and WgaTray.dll 3. Delete  WgaLogon  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify 4.  WgaTray.exe, WgaLogon.dll, WgaSetup.exe etc”¦) in  \Windows\System32\dllcache  and delete them, just in case.

Database basic

As I had a job interview position called 'data admin', I reviewed what I had studied from Univ. Entity Relationship Modelling : is a set of diagrammatic standards for depicting both the logical and physical structure of a database system P.Chen 1976 first proposed E-R models E-R Modelling symbols : Entities, Relationships, Attributes Entities :an entity is a thing, which is recognisable as being capabl of an independent existence, and may be uniquely identified, this definition allows for both physical objects(person, car, house) and events (a meetings, loans). - the names of entities must be in the singular as it refers to a single instance (in relationship terms) Relationships : a specific line between two entities and indicates that the primary key of one entity is a foreign key in the other One to One : signifies that for each instance of entity A there is one related instance of entity B. it is not often used or seen in full-scale relationship databases...

Chapter 2 Networking

As the assumption that there is not any software dedicated to maintaining the network and its operating system fully, WSBS provides a unified administrative interface designed to manage your server to meet the business requirements. A server is a device that provides services such as printer server, web server. These services should meet core business needs, including security (integrity, availability, confidentiality); email and collaboration; an internet connection; sharing data; faxing. A client is a device that avails itself of a server's services. Normally, they are perfectly capable computers on their own. The roles of network operating systems are to manage: Remote file system Running of shared applications input and output to shared network devices CPU scheduling of networked processes Server needs to be high powered, robust operating system, reliable hardware, do not want to have to reboot their system, and varying security needs including certain level of da...

WSBS-Chapter 1

Configure E-mail and Internet Connection Wizard is used to configure network, a shared Internet broadband or dial-up connection, firewall services, and customizing Exchange Server for e-mail. Use Exchange Server 2003 with Microsoft Office Outlook 2003 and add numerous features including the ability to schedule meetings and hold online conferences. The value of an intranet is high, but its building and maintaining cost are very high. Window Small Business Server is the solution for those problems because the product includes a pre-built internal Web site based on Windows SharePoint Services, so users can share documents read announcements respond to surveys make a request to the Help Desk and view the vacation calendar and easy to add/remove the pre-configured elements. Add User Wizard allows to add a single user or multiple users with setting up almost everything a user to meet business requirements such as a mail box in Exchange; access to shared printers, files and folders; acc...