mirror of
				https://github.com/EndPwnArchive/endpwn3.git
				synced 2024-08-15 00:23:30 +00:00 
			
		
		
		
	fuck sentry
This commit is contained in:
		
							parent
							
								
									fa131c9bbf
								
							
						
					
					
						commit
						0cade55978
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -45,11 +45,12 @@ function __epprint(str) {
 | 
			
		|||
        __epprint('disabling self xss warning...');
 | 
			
		||||
        $api.util.findFuncExports('consoleWarning').consoleWarning = e => { };
 | 
			
		||||
 | 
			
		||||
        // restore original native methods
 | 
			
		||||
        __epprint('unfucking natives methods...');
 | 
			
		||||
        // fuck sentry
 | 
			
		||||
        __epprint('fucking sentry...');
 | 
			
		||||
        var sentry = wc.findCache('_originalConsoleMethods')[0].exports;
 | 
			
		||||
        window.console = Object.assign(window.console, sentry._originalConsoleMethods); // console
 | 
			
		||||
        sentry._wrappedBuiltIns.forEach(x => x[0][x[1]] = x[2]); // other stuff
 | 
			
		||||
        sentry._breadcrumbEventHandler = () => () => { }; // disable event logging
 | 
			
		||||
 | 
			
		||||
        // fetch the changelog
 | 
			
		||||
        __epprint('injecting changelog...');
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue