GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Alex4386-vault/gachon-autoregister-course-legacy: 가천대학교 자동 수강신청 프로그램 on Node.JS

This repository was archived by the owner on Feb 16, 2022. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
tslint.json
tslint.json
 
 

Repository files navigation

gachon-autoregister-course

가천대학교 자동 수강신청 프로그램 on Node.JS

안이 왜 이딴걸 왜 만들었어요

수강신청 올클 실패해서요. 불만있습니까? 으쯔라고요!

아 알겠는데 이거 원리가 뭔데?

일단 가천대학교의 수강신청시스템은 JSP (Java Server Page) 또는 한국 갬성 살려서 (Java Servlet Page) 를 씁니다. (의미는 없긴 한데 으쯔라고요)
그리고 수강신청신청시스템은 form 전송을 통해 수강신청을 진행합니다. 그럼 뭘 할지 알겠나요?

아니 모르겠는데?

form request 도 결론적으로는 http 리퀘입니다.
그리고 JSP 라고 했으니 세션 정보가 cookie의 JSESSIONID 에 저장되게 되죠.

그렇다면, 로그인 리퀘를 보내 세션아이디를 발급받고, 발급받은 다음에 쿠키를 탑재해서 form 리퀘를 두두두두 보내도록 자동화하면 수강신청을 올클 할 수 있겠죠?

컴덕: 알겠는데 그 리퀘를 어디다가 보낼꺼야? 주소는 찾았어?

찾았으니까 이 짓거리를 하고 있겠죠?

일단 가천대학교의 수강신청 시스템은 요렇게 생겨먹었습니다. (언제 만들었는지도 모르겠음, 경원대 때꺼 재탕한건가)

1

우리가 관심 있는 부분은 수강신청을 해주는 로직이니까, 수강신청쪽 로직을 찾아보죠.
image

함수 save_it2 를 호출하네요. 그러면 save_it2 를 찾아봅시다.
image image

찾았- 습니다.-
신청 구조를 더 자세히 보도록 하죠.

image
보내는 정보는 다음과 같았습니다.

POST Request

url: http://203.249.127.98:9090/servlets/stud/sugang?attribute=sugang_save
application/x-form-urlencoded

fake = new Date()
subject_cd = 학수번호
save_gbn = "N"
je_gbn = "N"

그래서 API GET!!

개인적으로 바라는 내용

image
아는 사람은 다 아는 인캠 드립이예요 ㅋ

P.S. 사이버 캠퍼스도 SSL 안 쓰길래 해달라고 Q&A를 넣었는데, 답장이 뭐라고 왔냐면...
image
... (무들이 https 미 지원이라니 어디서 뻥을 치고 계시죠? 심지어 마이그레이션 툴까지 있던데? 그리고 https가 더 느리다는건 대체 언제적 이야깁니까)

라이선스

HRPL, 불만입니까 휴먼? MIT License 인데 좀 자율성을 보완한 거예요.

About

가천대학교 자동 수강신청 프로그램 on Node.JS

Topics

automatic-registercourse-registerecmascriptgachon-universitygiljavascriptleenodetypescriptya

Resources

Readme
License
Activity
Custom properties

Stars

5 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402809 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.