如何向wappalyzer隐藏角度版本



出于一些安全原因,我需要从wappalyzer隐藏javascript框架版本,尤其是angular版本,但我不知道!

从应用程序组件中删除ng版本属性以解决问题。

@Component({
selector: '[data-app]',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
constructor(private _elementRef: ElementRef) {
}
ngOnInit(): void {
this._elementRef.nativeElement.removeAttribute("ng-version");
}
}

我想这会对你有所帮助。

最新更新