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
- pwnable
- CODEGATE2018
- 코드게이트2017
- pwntools
- NGINX
- codegate2017
- openctf
- 코드게이트 주니어
- 도메인 https
- Codegate
- shellcraft
- npm
- 코드게이트
- Branch
- module
- CVE
- xlsx
- Git
- blueborne
- gogs private git
- gogs
- BLUETOOTH
- lob
- node.js
- node
- doorlock
- Hacking
- https설정
- 노드 엑셀
Archives
- Today
- Total
목록node (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