[정보] 이메일 테스트 리눅스 명령어
apt install mailutils echo "Hello world" | mail -s "Test" james@example.com
apt install mailutils echo "Hello world" | mail -s "Test" james@example.com
OS Ubuntu 20.04 이하로 지원 Installation Log into the Linux based device Run the following commands in the terminal # update software repositories sudo apt update # install available software updates sudo apt upgrade -y # create a working directory and change to it mkdir ./zulip && cd ./zulip # download zulip wget https://www.zulip.org/dist/releases/zulip-server-latest.tar.gz # extract the tar.gz tar..
GOOGLE SMTP가 안되는 현상이 있어서 네이버 SMTP 로 활용했다. 설정하는데 너무 스트래스였다. https://github.com/Leantime/docker-leantime GitHub - Leantime/docker-leantime: Official Docker Image for Leantime https://leantime.io Official Docker Image for Leantime https://leantime.io - GitHub - Leantime/docker-leantime: Official Docker Image for Leantime https://leantime.io github.com 앞단에 CloudFlare 리버스 프록시를 가져다쓰면 추가설정이 필요하니 그냥 포트 ..
Internet Gateway(192.168.0.1) Router(192.168.0.254/10.10.10.254) - sysctl -w net.ipv4.ip_forward=1 Internal Server(10.10.10.2) Internal Server에서 Router를 거쳐서 Internet Gateway로 가기위해서는 Router 역할을 하는 서버에서 패킷 포워딩을 해주어야한다. 외부에서 Internal Server로 접근하기 위해서는 Internet Gateway가 Router에 물어보라고 라우팅 테이블을 설정해줘야한다.
세션을 물어서 통신하도록 하자 세션없이 진행 시 연결을 맺고 끊음의 발생으로 서버에서 수용가능한 버퍼가 없어서 연결이 끊어지거나 보안장비에서 공격으로 인식해서 차단 될 수 있다. session = requests.Session() session.get("URL") session.close()
COUNTRY.IS IP 질의를 통한 국가 조회 https://country.is/ IP Geolocation API | Country.is Country has a minimal 🔥 interface. Have your browser or app query its own IP address. Query an abitrary IP. https://api.country.is/9.9.9.9 See the data sources. Country automatically checks for new MaxMind data every 24 hours. If you prefer not to use t country.is MAXMIND ASN 및 IP 대역 별 국가 정보 데이터 파일 제공 https://www.maxm..
일반적으로 호스트 쉘을 획득하면 상위 권한 탈취를 위하여 정보를 수집해야한다. 이 수집하는 행위를 Enumeration라고 한다. 기초 정보를 획득하기 위하여 다음의 정보를 수집하자. 운영체제 버전 - 주로 알려진 운영체제에 따라 사용하는 툴 또는 익스플로잇 여부를 확인할 수 있다. 커널 버전 - 잘알려진 커널이라면 취약점 정보를 획득할 수 있다. 이에 쓰이는 취약점은 시스템을 사용불가 할 수 있게 하므로 실행하기전 파급효과를 인지하도록 하 싱행중인 서비스 - 실행중인 프로세스의 권한을 확인한다. 잘못된 설정으로 root로 실행되게 할 수도있다. Cy3erLuna@htb[/htb]$ ps aux | grep root root 1 1.3 0.1 37656 5664 ? Ss 23:26 0:01 /sbin/i..
Windows Server 2003 동작 확인 Download Everything for Windows 2000, XP, 2003, Vista, 2008 and Windows 7 https://www.voidtools.com/ko-kr/support/everything/previous_versions/ Previous Versions - voidtools 이전 버전 Everything 이전 버전 목록입니다. 이전 안정 버전 Monday, 25 January 2021: Version 1.4.1.1005 fixed a security issue with loading urlmon.dll and imm32.dll. fixed a 4-byte utf8 comparison issue. fixed an issue ..
해결방법 객체분해 문법을 통하여 return 한다 export async function GET(request: NextRequest) { const result = await prismadb.user.findMany(); // Modify the result to exclude the 'hashedPassword' field const modifiedResult = result.map(({ hashedPassword, ...rest }) => rest); return NextResponse.json(modifiedResult); } const modifiedResult = result.map(({ hashedPassword, ...rest }) => rest);에서 객체 분해가 일어납니다. 구체적으로는..