pastabowl icon

Untitled

pastabowl | PRO | 10/25/25 05:19:08 AM UTC (Edited) | 0 ⭐ | 9356 👁️ | Never ⏰ | []
Python |

3.08 KB

|

Source Code

|

0 👍

/

0 👎

#!/usr/bin/env python3
 
from PyQt6.QtWidgets import (
    QApplication, QWidget, QHBoxLayout, QVBoxLayout, QPushButton,
    QFrame, QLabel, QSizePolicy, QSpacerItem
)
from PyQt6.QtGui import QPainter, QPaintEvent, QColor, QPen, QBrush, QMouseEvent, QFont
from PyQt6.QtCore import pyqtSignal
import sys
 
 
class BitButton(QWidget):
    binaryStateChanged = pyqtSignal(int, bool)
 
    def __init__(self):
        super().__init__()
        self.power: int = 0
        self.state: bool = False
        self.setFixedSize(24, 24)
 
    def mouseReleaseEvent(self, a0):
        self.setBinaryState(not self.state)
 
    def setBinaryState(self, newState: bool):
        self.state = newState
        self.update()
 
    def setFromBase10(self, withinValue: int):
        self.setBinaryState(False if withinValue & 2**self.power == 0 else True)
 
    def paintEvent(self, pe: QPaintEvent):
        pen_color: QColor = QColor("#30aa53") if self.state else QColor("#204023")
        brush_color: QColor = QColor("#78ffa3") if self.state else QColor("#258022")
        valueChar: str = "1" if self.state else "0"
        p: QPainter = QPainter(self)
        p.setPen(QPen(pen_color, 3))
        p.setBrush(brush_color)
        p.drawRoundedRect(self.rect().toRectF(), 4.0, 4.0)
        p.setFont(QFont("FreeMono", 12, QFont.Weight.DemiBold))
        offset: QPoint = p.fontMetrics().boundingRectChar(valueChar).center()
        p.drawText(self.rect().center() - offset, valueChar)
 
class ByteBox(QWidget):
    def __init__(self):
        super().__init__()
        self.setContentsMargins(5, 3, 5, 3)
        self.build_ui()
 
    def build_ui(self):
        hLayout: QHBoxLayout = QHBoxLayout()
        hLayout.setContentsMargins(2, 2, 2, 2)
        self.sizePolicy().setHorizontalPolicy(QSizePolicy.Policy.Minimum)
        self.sizePolicy().setVerticalPolicy(QSizePolicy.Policy.Minimum)
        for b in range(8):
            bit: Bitton = BitButton()
            bit.power = b
            hLayout.addWidget(bit)
            if b == 3: hLayout.addSpacing(6)
        self.setLayout(hLayout)
 
    def paintEvent(self, a0):
        bg_color: QColor = QColor()
        bg_color.setAlpha(0)
        p: QPainter = QPainter(self)
        p.setPen(QPen(QColor("#ffffff"), 3))
        p.setBrush(bg_color)
        p.drawRoundedRect(self.rect().toRectF(), 4.0, 4.0)
 
 
class MainWindow(QWidget):
    def __init__(self):
        super().__init__()
        self.setWindowTitle("Nonbinary, the Decimal/Binary/Hex Calculator")
        self.resize(400, 400)
        self.build_ui()
 
        self.grandValue = 0
 
    def build_ui(self):
        vBoxLayout: QVBoxLayout = QVBoxLayout()
        for r in range(2):
            row: QHBoxLayout = QHBoxLayout()
            for bb in range(4):
                byteBox: ByteBox = ByteBox()
                row.addWidget(byteBox)
            vBoxLayout.addLayout(row)
        self.setLayout(vBoxLayout)
 
def main():
    app = QApplication(sys.argv)
    w = MainWindow()
    w.show()
    sys.exit(app.exec())
 
 
if __name__ == "__main__":
    main()
 
 

Comments

  • Venzetis icon
    03/30/26 01:51:24 AM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎