Comments (10)
If you are using the cmd line parameteres, then you will have to : -cert cat cert.b64
-certKey cat privkey.b64
. Config files are more convenient to use.
from modlishka.
This will be changed in the next release to read the certificates from a file.
from modlishka.
when i execute this command ./dist/proxy -config templates/google.com_gsuite.json
i get following error
panic: tls: failed to find any PEM data in certificate input
goroutine 1 [running]:
github.com/drk1wi/Modlishka/plugin.init.0.func1()
/root/go/src/github.com/drk1wi/Modlishka/plugin/autocert.go:103 +0xc0a
github.com/drk1wi/Modlishka/plugin.(*Property).Enable(0xc000062300)
/root/go/src/github.com/drk1wi/Modlishka/plugin/core_plugin.go:71 +0xef
github.com/drk1wi/Modlishka/plugin.Enable(0xc000054c50, 0xc000054c60, 0xc000054c70, 0xc000054c80, 0xc000054c90, 0xc000054cc0, 0xc000054cd0, 0xc000054ca0, 0xc000054cb0, 0xc000054ce0, ...)
/root/go/src/github.com/drk1wi/Modlishka/plugin/core_plugin.go:105 +0x11a
main.main()
/root/go/src/github.com/drk1wi/Modlishka/main.go:65 +0x149
please tell me how to solve this error and start modlishka
from modlishka.
same here...im using kali ....result below
root@kali:~/go/src/github.com/drk1wi/Modlishka# sudo ./dist/proxy -config templates/google.com_gsuite.json
[Tue Mar 12 15:15:11 2019] INF Enabling plugin: autocert v0.1
panic: tls: failed to find any PEM data in certificate input
goroutine 1 [running]:
github.com/drk1wi/Modlishka/plugin.init.0.func1()
/root/go/src/github.com/drk1wi/Modlishka/plugin/autocert.go:105 +0xc0a
github.com/drk1wi/Modlishka/plugin.(*Property).Enable(0xc00006a300)
/root/go/src/github.com/drk1wi/Modlishka/plugin/core_plugin.go:71 +0xef
github.com/drk1wi/Modlishka/plugin.Enable(0xc00002cc60, 0xc00002cc70, 0xc00002cc80, 0xc00002cc90, 0xc00002cca0, 0xc00002ccd0, 0xc00002cce0, 0xc00002ccb0, 0xc00002ccc0, 0xc00002ccf0, ...)
/root/go/src/github.com/drk1wi/Modlishka/plugin/core_plugin.go:105 +0x11a
main.main()
/root/go/src/github.com/drk1wi/Modlishka/main.go:65 +0x18f
from modlishka.
I am using windows.
When I put the command ./dist/proxy -config......In cmd, says doesnot recognised as internal or external command..
Use make windows
to build it for windows and it will drop a proxy_windows
file into the dist folder. Rename it to proxy_windows.exe
and it will work.
Make sure to edit your command to ./dist/proxy_windows.exe
or, because windows is smart, ./dist/proxy_windows
.
from modlishka.
./dist/proxy -config templates/google.com_gsuite.json
listen tcp 0.0.0.0:443: bind: permission denied . Terminating.
How to fix ?
from modlishka.
tls: failed to find any PEM data in certificate input . Terminating.
Remove all the brakes on your fullchain.pem and privkey.pem before adding it to your modlishka.json file. that is make your fullchain.pem and privkey.pem be on a straight line.
from modlishka.
when i execute this command ./dist/proxy -config templates/google.com_gsuite.json
i get following error
panic: tls: failed to find any PEM data in certificate inputgoroutine 1 [running]:
github.com/drk1wi/Modlishka/plugin.init.0.func1()
/root/go/src/github.com/drk1wi/Modlishka/plugin/autocert.go:103 +0xc0a
github.com/drk1wi/Modlishka/plugin.(*Property).Enable(0xc000062300)
/root/go/src/github.com/drk1wi/Modlishka/plugin/core_plugin.go:71 +0xef
github.com/drk1wi/Modlishka/plugin.Enable(0xc000054c50, 0xc000054c60, 0xc000054c70, 0xc000054c80, 0xc000054c90, 0xc000054cc0, 0xc000054cd0, 0xc000054ca0, 0xc000054cb0, 0xc000054ce0, ...)
/root/go/src/github.com/drk1wi/Modlishka/plugin/core_plugin.go:105 +0x11a
main.main()
/root/go/src/github.com/drk1wi/Modlishka/main.go:65 +0x149
please tell me how to solve this error and start modlishka
the same problem, how to fix this ?
ten sam problem, jak sobie z nim poradzic ?
from modlishka.
WHEN I ENTER THIS COMMAND - ./dist/proxy -config templates/google.com_gsuite.json
I got this error ... I tried more than 20 times
There is no solution for me
panic: tls: failed to find any PEM data in certificate input
goroutine 1 [running]:
github.com/drk1wi/Modlishka/plugin.init.0.func1()
/root/go/src/github.com/drk1wi/Modlishka/plugin/autocert.go:103 +0xc0a
github.com/drk1wi/Modlishka/plugin.(*Property).Enable(0xc000062300)
/root/go/src/github.com/drk1wi/Modlishka/plugin/core_plugin.go:71 +0xef
github.com/drk1wi/Modlishka/plugin.Enable(0xc000054c50, 0xc000054c60, 0xc000054c70, 0xc000054c80, 0xc000054c90, 0xc000054cc0, 0xc000054cd0, 0xc000054ca0, 0xc000054cb0, 0xc000054ce0, ...)
/root/go/src/github.com/drk1wi/Modlishka/plugin/core_plugin.go:105 +0x11a
main.main()
/root/go/src/github.com/drk1wi/Modlishka/main.go:65 +0x149
PLEASE HELP ME !!!! TO START USING MODLISHKA TOOLS !!!! PLEASE
from modlishka.
WHEN I ENTER THIS COMMAND - ./dist/proxy -config templates/google.com_gsuite.json
I got this error ... I tried more than 20 times
There is no solution for me
panic: tls: failed to find any PEM data in certificate input goroutine 1 [running]: github.com/drk1wi/Modlishka/plugin.init.0.func1() /root/go/src/github.com/drk1wi/Modlishka/plugin/autocert.go:103 +0xc0a
Looks like line 103 in autocert.go is where it takes whatever's in CA_CERT, and assigns it to a variable for the certificate. You need to open autocert.go and check what you pasted in under:
// Paste your CA certificate and key in the following format
// Ref: https://github.com/drk1wi/Modlishka/wiki/Quickstart-tutorial
const CA_CERT =
It comes with a fake certificate filled in already, as an example. If you did not delete that, you need to delete it and replace it with your actual certificate data. If you did that already, you need to check what you pasted in, and make sure it's correct and doesn't contain any weird spaces or errors.
from modlishka.
Related Issues (20)
- !!! x509: malformed certificate . Terminating. HOT 7
- error 509 certificate malformed
- "JsRule": "
- how to make links to social networks do not change?
- Invalid IP address & redirect HOT 1
- Is it possible to use a preloaded cookie?
- RPC executor service threw an error! HOT 1
- Mod
- How to use regex with rules replace HOT 1
- All Request Forwarded
- TLS Handshake Error Unknown Certificate
- Idle. Not Working. Everything seems set HOT 8
- Stuck on re-direction
- How to stop the Target URL in the body being replaced with the Phishing URL HOT 1
- control panel
- Error.
- TLS error
- modlishka socks5 ip not working
- getting undefined: core function HOT 4
- http: superfluous response.WriteHeader call from net/http/httputil.(*ReverseProxy).ServeHTTP (reverseproxy.go:504) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modlishka.