Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- https
- Hacking
- codegate2017
- doorlock
- xlsx
- 코드게이트 주니어
- module
- node
- 코드게이트2017
- NGINX
- 도메인 https
- Branch
- node.js
- BLUETOOTH
- https설정
- shellcraft
- pwntools
- gogs private git
- 코드게이트
- lob
- CVE
- CODEGATE2018
- Codegate
- blueborne
- openctf
- Git
- gogs
- pwnable
- 노드 엑셀
- npm
Archives
- Today
- Total
목록module (1)
고졸백수해킹일기
[node]xlsx 모듈 사용법
sudo npm install xlsx //모듈 설치 사용법const XLSX = require('xlsx'); let workbook = XLSX.readFile('a.xlsx');let sheet = workbook.SheetNames[0]; // 배열이므로 .length를 사용하여 갯수 확인가능let worksheet = workbook.Sheets[sheet]; try{console.log( worksheet["A1"].v); //안의 데이터는 .v 를 사용해야 함}catch(exception){ //셀에 데이터가 없으면 exception이 남console.log("nono")} console.log(worksheet["!ref"]) // 사용한 셀의 길이
코딩/node.js
2018. 4. 12. 03:29