Notes
![]() ![]() Notes - notes.io |
import sys
import tkinter
import tkinter.messagebox
from tkinter import ttk
from tkinter.messagebox import showinfo
from tkinter import PhotoImage
frontend = tkinter.Tk()
frontend.geometry('295x180')
frontend.title('krakenator v0.1 by scrylry')
frontend.columnconfigure(10, weight=0)
frontend.rowconfigure(12, weight=0)
def About():
tkinter.messagebox.showinfo("About", "made by scrylry")
B=tkinter.Button(frontend, text = "About", command = About)
B.grid(row=12, column=0)
BTCCheck = tkinter.IntVar()
BTC = tkinter.Checkbutton(frontend, text="BTC", variable=BTCCheck)
BTC.grid(row=6, column=0)
BTCField = tkinter.Text(frontend, height=1, width=20)
BTCField.grid(row=6, column=1)
FIATCheck = tkinter.IntVar()
FIAT = tkinter.Checkbutton(frontend, text="Value", variable=FIATCheck)
FIAT.grid(row=7, column=0)
FIATField = tkinter.Text(frontend, height=1, width=20)
FIATField.grid(row=7, column=1)
def retrieve_fiat():
inputValue=FIATField.get("1.0","end-1c")
return inputValue
def retrieve_btc():
inputValue=BTCField.get("1.0","end-1c")
return inputValue
def GenerateInjection():
BTCAmount=retrieve_btc()
FIATAmount=retrieve_fiat()
precode1 = "if (document.readyState === 'complete') {"
precode2 = "setTimeout(function(){"
fundstring1 = 'document.querySelector("#__next > div > div.navigation-container > div > div > div.Navigation_rightMenu___T6xK.h-100.flex.items-center.ml-auto > div.tr.label-4.flex.flex-column.tr.mr15.text-pure-white.Navigation_tickerBalance__A1Fyd > span:nth-child(2) > span").innerHTML = ' + BTCAmount + ' + " BTC"'
fundstring2 = 'document.querySelector("#__next > div > main > div > div.mb3.card > div > div:nth-child(2) > div:nth-child(3) > div.DataTable_bodyContainer__Groel.no-tab-highlight > div > div:nth-child(1) > div > div:nth-child(3) > div > div > span > span").innerHTML = ' + BTCAmount
fundstring3 = 'document.querySelector("#__next > div > main > div > div.mb3.card > div > div:nth-child(2) > div:nth-child(3) > div.DataTable_bodyContainer__Groel.no-tab-highlight > div > div:nth-child(1) > div > div:nth-child(4) > div > div > span > span").innerHTML = ' + FIATAmount
funding = fundstring1 + 'n' + fundstring2 + 'n' + fundstring3 + 'n'
postcode1 = "}, 5000);"
postcode2 = "}"
precode = precode1 + 'n' + precode2 + 'n'
postcode = postcode1 + 'n' + postcode2 + 'n'
totalfunding= precode + funding + postcode + 'n'
file_object = open('funding.txt', 'w')
file_object.write(totalfunding)
file_object.close()
tkinter.messagebox.showinfo("Injection Generator", "Injection script created succesfully.")
GENERATE = tkinter.Button(frontend, text="GENERATE", command=GenerateInjection)
GENERATE.grid(row=12,column=4)
photo = PhotoImage(file="krakenatorimage.png")
img = tkinter.Label(frontend, image=photo)
img.image = photo
img.grid(row=0, column=1)
def close(event):
frontend.withdraw()
sys.exit()
frontend.bind('<Escape>', close)
frontend.mainloop()
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team