drk1wi / Modlishka

Modlishka. Reverse Proxy.
Other
4.84k stars 883 forks source link

i am using vps linux 18 and facing problem launching modlishka withmy domain #230

Closed testing-d-stuf closed 3 years ago

testing-d-stuf commented 4 years ago

i folowed this steps https://www.ired.team/offensive-security/red-team-infrastructure/how-to-setup-modliska-reverse-http-proxy-for-phishing

Describe the bug i am trying this for a week still gating some problem when first time i use this evrything is working but nithing isshows on my domain when i visit that and now i have a error """ !!! Error unmarshalling JSON configuration (modlishka.json): invalid character '\n' in string literal . Terminating."''' actualy i read coupple of qutions and i also try to do same but my problem isnt solve so thats why i amposting this question ...

1: i try after removing comment in deffault config file 2:: i also try use of orignle cert key pasting in .json file still same error i am posing all screen shot

Screenshot (522) Screenshot (519) ![Uploading Screenshot (520).png…]() Screenshot (521) Screenshot (523)

testing-d-stuf commented 4 years ago

the second screen shot shows there is "/n "and afeter i add all deatails like third screenshot (screenshot just shows copy and pasted keys actuly i do like second screen shot ..i mean i am changed cofig file cert and pem key by as like )

but result doesnt changed

testing-d-stuf commented 4 years ago

ya i appericiate this answer ...but i still want answer from the community ...because this is a gret tool and its working ..ya in some cases the result isnt that as we want .... i like this tool and want to know were i am doing mistake the contributer of this tool if you are reding pls explain ..i want to know ...this what goin wrong with my steps...

thanks

miarenny commented 4 years ago

You can use JSON validator to detect the problem in your JSON config

It will show you the number that needs to be attended to

ychauhan100 commented 3 years ago

awk '{printf "%s\n", $0}' /etc/letsencrypt/live/domain/fullchain.pem awk '{printf "%s\n", $0}' /etc/letsencrypt/live/domain/privkey.pem

copy and paste to json file...do not paste in any notepad or anything

testing-d-stuf commented 3 years ago

.