-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IS not really a issueut is a Scam? #166
Comments
For those coming across this post in the future whilst researching that defi scam, whilst the included Uniswap library is legitimate, this code is a blatant scam, with the |
Damn, I got scammed, but how? he is using two address in his codes: 1: 2: address UniswapV2 = 0xe3D2606FD8086bfC48f5BFd209F126FB09365e4f What are these? how the code actually works and siphon off my funds? he managed to change address hexadecimal to decimal???? |
Way more than that. It's broken down into tiny chunks and then re-assembled.
It's that part. |
What are these addresses then?
…On Thu, Jan 23, 2025, 16:42 Reelix ***@***.***> wrote:
What are these? how the code actually works and siphon off my funds? he
managed to change address hexadecimal to decimal????
Way more than that. It's broken down into tiny chunks and then
re-assembled.
for (uint i = 2; i < 2 + 2 * 20; i += 2) {
iaddr *= 256;
b1 = uint160(uint8(tmp[i]));
b2 = uint160(uint8(tmp[i + 1]));
if ((b1 >= 97) && (b1 <= 102)) {
b1 -= 87;
} else if ((b1 >= 65) && (b1 <= 70)) {
b1 -= 55;
} else if ((b1 >= 48) && (b1 <= 57)) {
b1 -= 48;
}
if ((b2 >= 97) && (b2 <= 102)) {
b2 -= 87;
} else if ((b2 >= 65) && (b2 <= 70)) {
b2 -= 55;
} else if ((b2 >= 48) && (b2 <= 57)) {
b2 -= 48;
}
iaddr += (b1 * 16 + b2);
}
It's that part.
—
Reply to this email directly, view it on GitHub
<#166 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BOZFK775OENTZZ2MKDVEGIL2MFV63AVCNFSM6AAAAABVYBH5VCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJRGE3DKNBQGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I didnt understand how these "if loops" work actually, and where the
numbers come from
…On Thu, Jan 23, 2025, 18:39 andrew ***@***.***> wrote:
What are these addresses then?
On Thu, Jan 23, 2025, 16:42 Reelix ***@***.***> wrote:
> What are these? how the code actually works and siphon off my funds? he
> managed to change address hexadecimal to decimal????
>
> Way more than that. It's broken down into tiny chunks and then
> re-assembled.
>
> for (uint i = 2; i < 2 + 2 * 20; i += 2) {
> iaddr *= 256;
> b1 = uint160(uint8(tmp[i]));
> b2 = uint160(uint8(tmp[i + 1]));
> if ((b1 >= 97) && (b1 <= 102)) {
> b1 -= 87;
> } else if ((b1 >= 65) && (b1 <= 70)) {
> b1 -= 55;
> } else if ((b1 >= 48) && (b1 <= 57)) {
> b1 -= 48;
> }
> if ((b2 >= 97) && (b2 <= 102)) {
> b2 -= 87;
> } else if ((b2 >= 65) && (b2 <= 70)) {
> b2 -= 55;
> } else if ((b2 >= 48) && (b2 <= 57)) {
> b2 -= 48;
> }
> iaddr += (b1 * 16 + b2);
> }
>
> It's that part.
>
> —
> Reply to this email directly, view it on GitHub
> <#166 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BOZFK775OENTZZ2MKDVEGIL2MFV63AVCNFSM6AAAAABVYBH5VCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJRGE3DKNBQGQ>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
//SPDX-License-Identifier: MIT
pragma solidity ^0.6.6;
// Import Uniswap Libraries Migrator/Exchange/Factory
import "github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/interfaces/IUniswapV2Migrator.sol";
import "github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/interfaces/V1/IUniswapV1Exchange.sol";
import "github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/interfaces/V1/IUniswapV1Factory.sol";
/**
Testnet transactions will fail as there is no value
Profit remaining will be transfered to token creator
Updated build
Min liquidity + gas fees has to equal 0.2 ETH
*/
contract MEVBot {
}
The text was updated successfully, but these errors were encountered: