mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
new: _http and _https zeroconf acceptors
This commit is contained in:
parent
ef69151a7f
commit
02871b0ae6
5 changed files with 130 additions and 41 deletions
|
@ -172,7 +172,7 @@ func (mod *ZeroGod) startAdvertiser(fileName string) error {
|
|||
for _, svc := range advertiser.Services {
|
||||
// if no external responder has been specified
|
||||
if svc.Responder == "" {
|
||||
acceptor := NewAcceptor(mod, svc.FullName(), hostName, uint16(svc.Port), tlsConfig, svc.IPP)
|
||||
acceptor := NewAcceptor(mod, svc.FullName(), hostName, uint16(svc.Port), tlsConfig, svc.IPP, svc.HTTP)
|
||||
if err := acceptor.Start(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue