Newbie Spellweaver
- Joined
- Jun 30, 2023
- Messages
- 5
- Reaction score
- 1
Hello guys,
As you all know VISMIS require xampp and it's based on laravel backend,
i have re-coded the VISMIS backend to Node.js server and secured in the previous VISMIS ( xampp ), the backend had too many vulnirbilites from overflows and not checking data which had contained SQL injection and many other things so i though instead of running whole HTTP server i just minimized it into Node.js server small one which does everything and it's improved i realized there was few bugs in the ( xampp vismis ) which i also fixed in this one.
I hope you fin this helpful.
Package installation:
Just open cmd in the directory then type `npm install`
then go to config folder in default.json i have changed port to 3030 which it looks like this
and in dbconf.js is where it loads DB information i have recoded many things in CA source to read all passwords from 1 ini file instead of each one has it's own
create in the path there i create DBCon.ini and put this
Or just modify it to have hardcoded info in ur dbconf.js
Thanks
As you all know VISMIS require xampp and it's based on laravel backend,
i have re-coded the VISMIS backend to Node.js server and secured in the previous VISMIS ( xampp ), the backend had too many vulnirbilites from overflows and not checking data which had contained SQL injection and many other things so i though instead of running whole HTTP server i just minimized it into Node.js server small one which does everything and it's improved i realized there was few bugs in the ( xampp vismis ) which i also fixed in this one.
I hope you fin this helpful.
Package installation:
Just open cmd in the directory then type `npm install`
then go to config folder in default.json i have changed port to 3030 which it looks like this
Code:
HeartBeat = http://127.0.0.1:3030/api/heartbeat
CheckBalance = http://127.0.0.1:3030/api/checkbalance
ProductInquiry = http://127.0.0.1:3030/api/product_inquiry
PurchaseItem = http://127.0.0.1:3030/api/purchase_item_rule_id
GiftInquiry = http://127.0.0.1:3030/api/purchase_gift
and in dbconf.js is where it loads DB information i have recoded many things in CA source to read all passwords from 1 ini file instead of each one has it's own
create in the path there i create DBCon.ini and put this
Code:
[VISMS]
DataSource = 127.0.0.1,1433
InitCatalog = VISMS
UserName = usernamehere
UserPass = passwordhere
Or just modify it to have hardcoded info in ur dbconf.js
Thanks

