![Intambwe-by-Intambwe Yintego yo Gushiraho no Gukoresha Nodejsscan kuri Mast 4370_1](/userfiles/21/4370_1.webp)
Iyi ngingo irerekana igishushanyo mbonera cyintambwe yo gushiraho no gukoresha Nodejsscan kuri sasita. Abasomyi bazashobora kumenyera urugero rufatika rwa gahunda yo kwishyiriraho gahunda.
Nodejsscan ni kode ihamye ikoreshwa mugushakisha ibitangwa ry'umutekano muri porogaramu ya Node.js. Bikwiye gusobanuka neza uburyo nodejscan ya sats ishobora gukoreshwa mugihe havutseho.
Kwishyiriraho, gushiraho no gukoresha scaneri ya Nodejsscan- Umukoresha ashyiraho inyandiko hanyuma akayigena (Sqlalchemy_database_Urubuga) muri Core / gushiraho.py
- Ibikurikira, ikuramo paki ya Nodejsscan kuva mububiko bwa Github ihindukirira iyi link.
![Intambwe-by-Intambwe Yintego yo Gushiraho no Gukoresha Nodejsscan kuri Mast 4370_2](/userfiles/21/4370_2.webp)
Nyuma yibyo ugomba kujya mububiko bwa Nodejsscan hanyuma ushyireho ibice byose bikenewe ukoresheje itegeko:
PIP3 Kwinjiza -R Ibisabwa.TX
![Intambwe-by-Intambwe Yintego yo Gushiraho no Gukoresha Nodejsscan kuri Mast 4370_3](/userfiles/21/4370_3.webp)
- Ugomba gukora iri tegeko (python3 mubyimuka.py) rimwe kugirango habeho ibyanditswe bikenewe muri base base.
- Porogaramu "python3.Py" ikorwa kugirango ugerageze.
- Gushiraho gucorn bisabwa mubikorwa byiza bya Nodejsscan, urashobora gukoresha "guconin -b 0.0.0.0.0.0 Irakenewe kubidukikije.
![Intambwe-by-Intambwe Yintego yo Gushiraho no Gukoresha Nodejsscan kuri Mast 4370_4](/userfiles/21/4370_4.webp)
Iki gikoresho kizakora nodejsscan kuri: http: //0.0.0.0: 9090. Niba ukeneye gukosora, shyiramo gukemura "ukuri" muri Core / Igenamiterere. Hamwe nibisobanuro byiki gihe cyiki gikoresho, nodejsscan ifite umubare muto wibyamamare.
![Intambwe-by-Intambwe Yintego yo Gushiraho no Gukoresha Nodejsscan kuri Mast 4370_5](/userfiles/21/4370_5.webp)
Tegeka umurongo umurongo cyangwa "cli" yemerera iki gikoresho kwishyira hamwe hamwe na devsecops ci / cd convoeur. Ibisubizo bizashyikirizwa umukoresha muburyo bwa JSON.
![Intambwe-by-Intambwe Yintego yo Gushiraho no Gukoresha Nodejsscan kuri Mast 4370_6](/userfiles/21/4370_6.webp)
Amashusho ya docker arashobora kugenwa kuri nodejsscan ukoresheje intambwe zikurikira:
- Ubwa mbere, ugomba kumenya neza ko umushahara ubwawo washyizwe muri sisitemu.
- Umukoresha yatangije serivisi ya docker akoresheje itegeko:
Docker Docker Tangira.
- Ibikurikira, ikora itegeko rikurikira:
Docker yubaka -t nodejsscan
- Hanyuma, amaherezo, yinjira muri iri tegeko kugirango ikore porogaramu:
DOCKERS ikora -it -p 9090: 9090 nodejsscan
Kwerekana inzira zose kurugero rufatika- Umukoresha yagerageje iki gikoresho ku bubiko burimo kode ituzuye kandi itishoboye.
- Gusaba nodejsscan birahuye na dosiye ya .Zip imiterere yashyizwemo. Noneho, ugomba kubanza guhagarika code yawe .js kuri .zip Archive, hanyuma ufungure mushakisha hanyuma ukuremo dosiye ifunzwe.
- Nyuma yo gukuramo dosiye za zip, igikoresho kizereka umukoresha urutonde rwintege nke zose.
![Intambwe-by-Intambwe Yintego yo Gushiraho no Gukoresha Nodejsscan kuri Mast 4370_7](/userfiles/21/4370_7.webp)
![Intambwe-by-Intambwe Yintego yo Gushiraho no Gukoresha Nodejsscan kuri Mast 4370_8](/userfiles/21/4370_8.webp)
Umwanditsi w'ingingo yahinduwe: Sudhansu Shekhar.
Ibikoresho bishimishije kuri Cisoclub.ru. Iyandikishe kuri Amerika: Facebook | VK | Twitter | Instagram | Telegaramu | Zen | Intumwa | ICQ Nshya | YouTube | Pulse.