전체 글 22

Linux C 프로그래밍 기초 ① / Linux C Programming basics ①

본 프로그래밍은 리눅스 터미널 내에서 vi로 작성되고 실행된다. This programming is written and executed in vi in a Linux terminal. C 프로그래밍 첫 기초를 예제로 시작하려 한다.Let's start with the basics of C programming as an example. 예제를 살펴보기 전에 먼저 디렉토리와 파일을 먼저 정리해보도록 하겠다.Before looking at the example, let's first organize the directories and files. 나중에 복습을 할 때 디렉토리를 정리해놔야 찾기 쉽다.It's a good idea to organize our directories for future revi..

Programming/C 2020.07.15

Vim 설정 / Vim Settings

터미널에서 프로그래밍을 하기 전 마지막 단계인 Vim 설정이다. The last step before programming in the terminal is the Vim configuration. Vim 설정을 하는 이유는 가독성과 편리성을 높이고 컴파일과 디버깅을 편하게 하기 위해서이다. The reason for setting Vim is to improve readability and convenience and to compile and debug easily. centos로 접속을 한 후 터미널에서 "gcc" 와 "vim" 을 입력해보자. After connecting to centos, type "gcc" and "vim" in the terminal. 명령어를 찾을 수 없다고 나올 것이다...

Linux/Linux 2020.07.13

Vim 단축키 / Vim shortcuts

필자는 현재 칼리 리눅스 터미널에서 centos를 사용중이다. I am currently using centos in a Kali Linux terminal. 필자의 프로그래밍 환경을 확인해야 한다면 https://information-security-vlog.tistory.com/10 을 참고하면 되겠다. If you need to check my programming environment, you can refer to information-security-vlog.tistory.com/10. 프로그래밍을 하기전 Vim 설치와 환경 설정 및 단축키를 먼저 확인하고 가자. Before programming, let's check the Vim installation, preferences, and sh..

Linux/Linux 2020.07.09

C 언어란 / What is C language

본 포스팅은 필자의 개인적인 의견이 들어가 있다. This post contains my personal opinion. C 언어를 배우기에 앞서 C 언어란 무엇인가를 먼저 알아야 한다고 생각한다. Before I learn C language, I think we should know what C language is. C 언어가 세상에 나오기 전 1969년 켄 톰슨이 'B'라는 프로그래밍 언어를 만들었고 1972년 벨 연구소의 데니스 리치가 B 언어의 특징을 물려받은 'C' 언어를 만들었다. Before the C language came out, Kenneth Lane Thompson created the programming language'B' in 1969, and in 1972, Dennis..

Programming/C 2020.07.07

virtualbox 네트워크 설정, centos 네트워크 / Virtualbox network setup, centos network setup

virtualbox 네트워크 설정을 해보자. Let's set up a virtualbox network. 필자는 유선랜 사용보다 무선랜 사용을 많이 하기 때문에 유선랜 설정을 진행해보려 한다. I use wireless LAN more than wired LAN, so I will try to set up wired LAN. 먼저 virtualbox에 네트워크 설정을 하고 centos에도 네트워크 설정을 해보도록 하겠다. First, I'll set up a network on the virtualbox and network on the centos. 그리고 한글 입출력을 위해 터미널에서 ssh 연결을 해보겠다. And I will try a ssh connection from the terminal ..

Linux/Kali_Linux 2020.07.06

칼리 리눅스 virtual box 설치 및 Centos 7 설치 ② / Install virtual box and install Centos 7

이번 포스팅에선 virtualbox에 centos 7을 설치하는 과정을 다뤄보겠다. In this post, we will cover the process of installing centos 7 on virtualbox. centos 7은 그래픽 지원이 안 된다는 점 참고하고 설치하도록 하자. note that centos 7 does not support graphics. 필자는 그래픽 유저 인터페이스 환경보단 커맨드 라인 인터페이스가 더 익숙하다. I'm more familiar with the command line interface than the graphical user interface environment. 아무튼 설치를 진행해보자. Anyway, let's proceed with the..

Linux/Kali_Linux 2020.07.03

칼리 리눅스 virtual box 설치 및 Centos 7 설치 ① / Install virtual box and install Centos 7 on Kali Linux ①

필자는 칼리 리눅스는 디버깅이나 툴을 이용하기 위한 목적으로 사용할 예정이고 추후 블로그에 올라올 프로그래밍 연습 및 해킹툴 만들기는 가상머신에서 할 예정이다. I plan to use Kali Linux for debugging or to use tools. on virtual machines, I will making hacking tools and do programming exercises that will be posted on the blog later. 본 포스팅에서 가상머신을 구체적으로 설명하지는 않겠다. In this post, I will not describe the virtual machine in detail. 가상머신이란 컴퓨터 환경을 소프트웨어로 구현해 놓은 것이라고 간단하게 ..

Linux/Kali_Linux 2020.07.02

칼리 리눅스 크롬 설치 / Install Chrome on Kali Linux

본격적으로 리눅스에 필요하다고 생각하는 프로그램들을 차례대로 설치해보도록 하겠다. Let's install programs that we think are necessary for Linux in order. 그 중 가장 첫 번째는 크롬 브라우저이다. The first of these is the Chrome browser. 먼저 패키지를 업데이트 하자. Let's update the package first. 업데이트만 하면 되지만 필자는 업그레이드까지 같이 해준다. You only need to update, but I do the upgrades as well. "update, upgrade, dist-upgrade, autoremove, clean, &&" 에 대한 설명은 https://infor..

Linux/Kali_Linux 2020.06.30

칼리 리눅스 한글 설정 / Kali Linux Hangul Configuration

오늘은 칼리 리눅스에 한글 설정을 해보려 한다. Today, we're going to set up Hangul on Kali Linux. 처음 칼리 리눅스에 로그인하면 한글이 깨지는 현상을 확인할 수 있다. When you log in to Kali Linux for the first time, you can see that the Hangul is broken. 먼저 저장소에 미러 사이트를 등록하자. First, register the mirror site in the repository. 미러 사이트란 네트워크 트래픽을 줄이기 위해 다른 컴퓨터 서버를 복사해 놓은 웹사이트 혹은 컴퓨터 파일 서버를 의미한다. A mirror site is a website or computer file server ..

Linux/Kali_Linux 2020.06.30

칼리 리눅스 설치 과정 ② / Kali Linux installation process ②

이전 과정에서 칼리 리눅스 iso 파일을 다운 받아 rufus 파일을 이용해usb에 부팅파일을 넣는 과정을 다루었다.In the previous step, We downloaded the Kali Linux iso file and used the rufus file to put the boot file on the usb. 이번엔 직접 컴퓨터 혹은 노트북에 직접 칼리 리눅스를 설치하는 과정을 다루어보겠다.This time, I will cover the process of installing Kali Linux directly on a computer or laptop. 시작하기에 앞서 설치할 PC에 유선랜 연결을 해줘야 한다. A wired LAN connection is required before ..

Linux/Kali_Linux 2020.06.28