본문 바로가기

verdantjuly/Today I Learned

TIL 20240915

728x90

이번 주 목표  Weekly Plan

python script : 취약점 5개 코딩

python script : code 5 exploit

 

pubcafe : nest.js 세팅 시작

pubcafe : start setting nest.js

오늘 목표  Daily Plan

python script : 취약점 5개 코딩

python script : code 5 exploit

 

pubcafe : nest.js 세팅 시작

pubcafe : start setting nest.js

오늘 한 것  Done Today

python script : 취약점 3개 코딩

python script : code 3 exploit


u_14_env_auth.py
u_15_world_writable.py

u_16_device_file.py

 

pubcafe : nest.js 세팅 시작

pubcafe : start setting nest.js

오늘 스케줄  Today's Schedule

오후 1시 python script 취약점 5개 코딩

오후 7시 pubcafe nest.js setting

오후 10시 pubcafe 회의

1. list out of index

문제 Problem

null을 split 하여 없는 index에 접근함

Splited null value and approached to index which doesn't exist.

시도 Trial

null 인경우 split을 하지 않고 return

Do not split and return when the value is null.

해결 Solve

해결함.

Solved.

알게된 것 Learnend

null에 주의.

Becareful for null.

 

2. \n doesn't split line automatically

문제 Problem

\n이 자동으로 줄바꿈 되지 않음.

\n doesn't split line automatically

시도 Trial

splitlines() 메서드 활용

Use splitlines() method

subprocess.run().stdout.splitlines()

해결 Solve

해결함.

Solved.

알게된 것 Learnend

잘 안 되면 검색하기

Search when it doesn't fit.

 

3. write multi imports simply 

알게된 것 Learnend

from linux import (
    u_01_remote,
    u_02_password_complexity,
    u_03_password_deny,
    u_04_password_protect
)

정리  Memo

list out of index > list가 null 일 수 있음.

list out of index > maybe list could be null

 

splitlines()

 

from linux import (
    u_01_remote,
    u_02_password_complexity,
    u_03_password_deny,
    u_04_password_protect
)

KPT

Keep

열심히 하기

Do my best

 

Problem

없음.

None.

 

Try

열심히 하기.

Do my best.

 

소감  Diary

오늘은 오랜만에 코딩을 시작했다. 몇 달 만이라 정말 시작하기가 어려웠지만 해낸 내 자신을 칭찬한다. 이대로 꾸준히 이어나가자.

Today I started coding after long time. It was really hard to start since it past few months after my last coding.

But I praise myself who finally done. Keep still like this.

 

 

 

 

'verdantjuly > Today I Learned' 카테고리의 다른 글

TIL 20240925  (4) 2024.09.25
TIL 20240724  (0) 2024.07.24
TIL 20230719  (0) 2024.07.20
TIL 20240619  (0) 2024.06.19
TIL 20240610  (2) 2024.06.10