Skip to content

Instantly share code, notes, and snippets.

@potados99
Last active February 12, 2023 00:36
Show Gist options
  • Save potados99/4e570a3402eebc37a5f92348fb019a11 to your computer and use it in GitHub Desktop.
Save potados99/4e570a3402eebc37a5f92348fb019a11 to your computer and use it in GitHub Desktop.
공군 기본군사훈련단 인터넷 편지 memberSeq 구해오는 스크립트
curl 'http://airforce.mil.kr:8081/user/emailPicViewSameMembers.action?siteId=last2&searchName=송병준&searchBirth=19990211' -L -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36' | grep "선택하기" | sed -e 's/.*[^0-9]\([0-9]\+\)[^0-9]*$/\1/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment