forked from p34709852/monkey
Linting fixes
This commit is contained in:
parent
30fde6deb3
commit
4c8c423b9d
|
@ -9,6 +9,7 @@ CREDENTIAL_TYPES = ['msv_creds', 'wdigest_creds', 'ssp_creds', 'livessp_creds',
|
||||||
'kerberos_creds', 'credman_creds', 'tspkg_creds']
|
'kerberos_creds', 'credman_creds', 'tspkg_creds']
|
||||||
PypykatzCredential = NewType('PypykatzCredential', Dict)
|
PypykatzCredential = NewType('PypykatzCredential', Dict)
|
||||||
|
|
||||||
|
|
||||||
def get_windows_creds() -> List[WindowsCredentials]:
|
def get_windows_creds() -> List[WindowsCredentials]:
|
||||||
pypy_handle = pypykatz.go_live()
|
pypy_handle = pypykatz.go_live()
|
||||||
logon_data = pypy_handle.to_dict()
|
logon_data = pypy_handle.to_dict()
|
||||||
|
|
|
@ -23,7 +23,7 @@ import 'styles/App.css';
|
||||||
import 'react-toggle/style.css';
|
import 'react-toggle/style.css';
|
||||||
import 'react-table/react-table.css';
|
import 'react-table/react-table.css';
|
||||||
import notificationIcon from '../images/notification-logo-512x512.png';
|
import notificationIcon from '../images/notification-logo-512x512.png';
|
||||||
import {StandardLayoutComponent} from "./layouts/StandardLayoutComponent";
|
import {StandardLayoutComponent} from './layouts/StandardLayoutComponent';
|
||||||
|
|
||||||
const reportZeroTrustRoute = '/report/zeroTrust';
|
const reportZeroTrustRoute = '/report/zeroTrust';
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
import logoImage from "../images/monkey-icon.svg";
|
import logoImage from '../images/monkey-icon.svg';
|
||||||
import infectionMonkeyImage from "../images/infection-monkey.svg";
|
import infectionMonkeyImage from '../images/infection-monkey.svg';
|
||||||
import {NavLink} from "react-router-dom";
|
import {NavLink} from 'react-router-dom';
|
||||||
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
|
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome';
|
||||||
import {faCheck} from "@fortawesome/free-solid-svg-icons/faCheck";
|
import {faCheck} from '@fortawesome/free-solid-svg-icons/faCheck';
|
||||||
import {faUndo} from "@fortawesome/free-solid-svg-icons/faUndo";
|
import {faUndo} from '@fortawesome/free-solid-svg-icons/faUndo';
|
||||||
import guardicoreLogoImage from "../images/guardicore-logo.png";
|
import guardicoreLogoImage from '../images/guardicore-logo.png';
|
||||||
import VersionComponent from "./side-menu/VersionComponent";
|
import VersionComponent from './side-menu/VersionComponent';
|
||||||
import {Col} from "react-bootstrap";
|
import React from 'react';
|
||||||
import React from "react";
|
|
||||||
|
|
||||||
|
|
||||||
class SideNavComponent extends React.Component {
|
class SideNavComponent extends React.Component {
|
||||||
|
@ -16,7 +15,7 @@ class SideNavComponent extends React.Component {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className='header'>
|
<div className='header'>
|
||||||
<img alt="logo" src={logoImage} style={{width: '5vw', margin: '15px'}}/>
|
<img alt='logo' src={logoImage} style={{width: '5vw', margin: '15px'}}/>
|
||||||
<img src={infectionMonkeyImage} style={{width: '15vw'}} alt='Infection Monkey'/>
|
<img src={infectionMonkeyImage} style={{width: '15vw'}} alt='Infection Monkey'/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -79,7 +78,7 @@ class SideNavComponent extends React.Component {
|
||||||
<hr/>
|
<hr/>
|
||||||
<div className='guardicore-link text-center' style={{'marginBottom': '0.5em'}}>
|
<div className='guardicore-link text-center' style={{'marginBottom': '0.5em'}}>
|
||||||
<span>Powered by</span>
|
<span>Powered by</span>
|
||||||
<a href='http://www.guardicore.com' rel="noopener noreferrer" target='_blank'>
|
<a href='http://www.guardicore.com' rel='noopener noreferrer' target='_blank'>
|
||||||
<img src={guardicoreLogoImage} alt='GuardiCore'/>
|
<img src={guardicoreLogoImage} alt='GuardiCore'/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue