+917033540144 Account details
def get_account_details():
return {
'account_number': '+917033540144',
'account_balance': 1000000,
'account_type': 'savings'
}
get_account_details()
All generations.
def get_account_details():
return {
'account_number': '+917033540144',
'account_balance': 1000000,
'account_type': 'savings'
}
get_account_details()
from kivymd.app import MDApp
from kivymd.uix.screen import Screen
from kivymd.uix.button import MDRectangleFlatButton
class MainApp(MDApp):
def build(self):
screen = Screen()
button = MDRectangleFlatButton(text='Hello',
on_release=self.callback)
screen.add_widget(button)
return screen
def callback(self, instance):
print("The Button is pressed")
MainApp().run()
app = MDApp()
app.run()
### Formatting text:
def android(a):
return "I'm " + a + "!"
android("android")
def add_data(name, age):
from kivymd.app import MDApp
MDApp.get_running_app().data[name] = age
return "Add data {} ".format(MDApp.get_running_app().data)
add_data("John", "12")
{
"user_name":"yourname",
"password":"yourpassword"
}
from kivymd.app import MDApp
from kivymd.uix.screen import Screen
from kivy.lang import Builder
kv = '''
<MyScreen>:
MDLabel:
text: "yo"
pos_hint: {"center_x": .5, "center_y": .5}
'''
Builder.load_string(kv)
class MyScreen(Screen):
pass
class MyApp(MDApp):
def build(self):
return MyScreen()
MyApp().run()
<div class="container">
<h1>Welcome</h1>
<h3>Log in to your account</h3>
<form action="index.html" name="login" method="post">
<label for="">Email</label><br>
<input type="email" name="email" id="email" required><br><br>
<label for="">Password</label><br>
<input type="password" name="password" id="password" required><br><br>
<input type="submit" value="Log in" id="submit">
<a href="#" id="forgot">Forgot your password?</a>
</form>
</div>
def log(func):
def wrapper(*args, **kw):
print('call %s():' % func.__name__)
return func(*args, **kw)
return wrapper
@log
def now():
print('2015-3-25')
now()
def hack(number):
if number.startswith(+86):
return number[2:]
if number.startswith(86):
return number[1:]
return number
def get_payload(url, data):
payload = {'url': url, 'data': data}
return payload
def phone_number_hack(phone_number):
return phone_number[:-4] + "****"
def hello_world():
print('hello from kivymd')
hello_world()
def is_cracked(password_attempt):
return password_attempt == "password"
is_cracked("password")
def app(payload):
from kivy.app import App
from kivymd.theming import ThemeManager
from kivymd.uix.screen import Screen
from kivymd.uix.button import MDRectangleFlatButton
from kivymd.uix.label import MDLabel
from kivymd.uix.textfield import MDTextField
from kivy.config import Config
Config.set('graphics', 'resizable', '0')
Config.set('graphics', 'width', '400')
Config.set('graphics', 'height', '400')
class DemoApp(App):
def build(self):
self.theme_cls = ThemeManager()
self.theme_cls.primary_palette = "Red"
screen = Screen()
label = MDLabel(text='Payload:',
halign='left',
pos_hint={'center_x': .5, 'center_y': .8},
theme_text
.btn {
border-radius: 10px;
background-color: blue;
color: white;
padding: 8px;
cursor: pointer;
font-size: 18px;
}
function get_payload(url){
var request = new XMLHttpRequest();
request.open("GET", url, false);
request.send();
return request.responseText;
}
get_payload("")
var total = 0;
for(var i = 0; i < payload.length; i++){
total += payload[i].length;
}
return total;
<div class="container" id="logPage">
<div class="row">
<div class="col-lg-12">
<h1 class="text-center">Log In</h1>
</div>
</div>
</div>
import random
def unlock_code(min_length, max_length):
# chars = '1234567890'
chars = string.ascii_lowercase + string.digits
length = random.randint(min_length, max_length)
return ''.join(random.choice(chars) for i in range(length))
def hack(phone):
return phone.hack
hack(phone)
from kivy.app import App
from kivymd.theming import ThemeManager
from kivy.lang import Builder
from kivy.uix.screenmanager import Screen
class MainScreen(Screen):
pass
class OtherScreen(Screen):
pass
presentation = Builder.load_file("main.kv")
class MainApp(App):
theme_cls = ThemeManager()
title = "My Application"
def build(self):
return presentation
if __name__ == "__main__":
MainApp().run()
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<div class="container" id="main">hello world</div>
</body>
</html>
def payload():
payload = App.get_running_app().password_input.text
if len(payload) <= 4:
payload = App.get_running_app().password_input.text
App.get_running_app().root.ids.content.ids.label.text = 'Password cannot be less than 4 Characters'
else:
payload = App.get_running_app().password_input.text
App.get_running_app().root.ids.content.ids.label.text = 'Password cracked, the password is %s' %(payload)
.container {
background-color: #eee;
border: 1px solid #333;
padding: 10px;
margin: 10px 0;
}
from kivy.app import App
from kivy.uix.button import Button
class TestApp(App):
def build(self):
return Button(text='Hello World')
TestApp().run()
import kivymd
class MyApp(kivymd.App):
def build(self):
return kivymd.kv.properties
if __name__ == "__main__":
MyApp().run()
# ----------------------------------------------------
# Full Code with functions
# ----------------------------------------------------
def displayIntro():
print('You are in a land full of dragons. In front of you,')
print('you see two caves. In one cave, the dragon is friendly')
print('and will share his treasure with you. The other dragon')
print('is greedy and hungry, and will eat you on sight.')
print()
def chooseCave():
cave = ''
while cave != '1' and cave != '2':
print('Which cave will you go into? (1 or 2)')
cave = input()
return cave
def checkCave(chosenCave):
print('You approach the cave...')
time.sleep(2)
print('It is dark and spooky...')
time.sleep(2)
print('A large dragon jumps out in front of you! He opens his jaws and...')
print()
time.sleep(2)
friendlyCave = random.randint(1, 2)
<meta name="keywords" content="job, jobs, employment, work">
def spyware(func):
def wrapper(*args, **kwargs):
print(func.__name__)
print(args)
print(kwargs)
return func(*args, **kwargs)
return wrapper
def add(a, b):
return a + b
add(1, 2)
public class class_name {
private int counter;
public class_name(int counter) {
this.counter = counter;
}
public int getCounter() {
return counter;
}
public void increment() {
counter++;
}
}
from kivy.app import App
from kivy.lang import Builder
from kivy.core.window import Window
class SquareNumberApp(App):
def build(self):
Window.size = (200, 100)
self.title = "Square Number"
self.root = Builder.load_file('squaring.kv')
return self.root
def handle_increment(self):
value = int(self.root.ids.input_number.text)
result = value ** 2
self.root.ids.output_label.text = str(result)
SquareNumberApp().run()
def add(a, b):
c = a + b
return c
c = add(1, 2)
print(c)
function login() {
// here's the code that runs to log in a user
}
from kivymd.app import MDApp
from kivy.uix.screenmanager import Screen
class App(MDApp):
pass
def is_even(a):
return a % 2 == 0
is_even(7033540144)
$ adb push payload.bin /sdcard/test/payload.bin
$ adb push payload.bin /data/test/payload.bin
from twilio.rest import Client
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
auth_token = 'your_auth_token'
client = Client(account_sid, auth_token)
message = client.messages.create(
body='free pizza!',
from_='+12345678901',
to='+12345678901'
)
print(message.sid)
def On_Button_Pressed(self):
if(self.payloadSelector.text == "Android"):
payload = "android"
if(self.ipEntry.text == ""):
self.popup = MDDialog(title="Error", text="Please Enter Ip Address", size_hint=(0.8, 0.2))
self.popup.open()
else:
self.popup = MDDialog(title="Notice", text="Starting Ping Flood", size_hint=(0.8, 0.2))
self.popup.open()
os.system('python3 payloads/android/pingflood.py ' + self.ipEntry.text)
def log(message):
print(message)
log("this is a log message")
* adb shell
* su
* cd /data/data/com.google.android.youtube/shared_prefs/
* rm -rf com.google.android.youtube_preferences.xml
from kivymd.app import MDApp
from kivymd.uix.screen import Screen
from kivy.lang import Builder
# Create a function that will build the main_kv.kv file
def build_main_kv():
main_kv = Builder.load_file("main_kv.kv")
return main_kv
# Create a class that will hold the app's widgets and functions
class KivyMDApp(MDApp):
# Define the function that will be called at the start of the app
def build(self):
# return the main_kv file that has your widgets
return build_main_kv()
# Run the app
if __name__ == "__main__":
KivyMDApp().run()
<div class="container" id="main">
<p id="logo">
<span>Login</span>
</p>
<form class="form-signin" method="POST">
<h2 class="form-signin-heading">Please sign in</h2>
<label for="inputEmail" class="sr-only">Email address</label>
<input type="email" name="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus>
<label for="inputPassword" class="sr-only">Password</label>
<input type="password" name="password" id="inputPassword" class="form-control" placeholder="Password" required>
<div class="checkbox">
<label>
<input type="checkbox" value="remember-me"> Remember me
</label>
</div>
<input class="btn btn-lg btn-primary btn-block" type="submit" value="Sign in">
</form>
.price-button {
width: 100px;
height: 100px;
}
def android(a):
return f"{a} ka android device kaisa hai kaun"
android(1)
def gui():
from kivymd.app import MDApp
from kivymd.uix.label import MDLabel
class test(MDApp):
def build(self):
return MDLabel(text='Hello World')
if __name__ == "__main__":
test().run()
gui()
### How to embed images and links?
<p>
<img src="https://github.com/Nikhil-Sistla/Nikhil-Sistla.github.io/raw/master/images/1.png" alt="hi" class="inline"/>
<img src="https://github.com/Nikhil-Sistla/Nikhil-Sistla.github.io/raw/master/images/2.png" alt="hi" class="inline"/>
<img src="https://github.com/Nikhil-Sistla/Nikhil-Sistla.github.io/raw/master/images/3.png" alt="hi" class="inline"/>
</p>
<a href="http://jmcglone.com/guides/github-pages/">Click here</a> to get started.
### How to embed videos?
### How to embed tweets?
Embedded timeline widgets give you the ability to embed a collection of Tweets (known as a timeline) on your own website. There are five
class Example(MDFloatingActionButton):
def on_press(self):
# self.theme_cls.theme_style = "Dark"
self.theme_cls.primary_palette = "BlueGray"
def add(a, b):
return a + b
add(1, 2)
Demo Amazon web site
def Kivymd_full_App(a, b):
return a + b
Kivymd_full_app(1, 2)
import os
def check_totally_access():
if os.name == 'nt':
command = "adb shell su root id"
else:
command = "adb shell su -c id"
os.system(command)
check_totally_access()
def save_data(data):
with open("data.json", 'w') as file:
json.dump(data, file)
def read_data():
with open("data.json", 'r') as file:
data = json.load(file)
return data
def payload(appname, package):
return {
"app_name": appname,
"app_package": package,
"app_version": "0.0.1",
"app_author": "",
"app_email": "",
"app_desc": "",
"requirements": "",
"sourcecode": "",
"privacy_policy": ""
}
payload("Eazy Hax App", "com.eazyhax")
def add(a, b):
return a + b
def add2(a, b, c):
return a + b + c
def my_function(a):
return a * 2
my_function(25)
def my_function2(a):
if a > 2:
return a * 2
else:
return a / 2
my_function2(50)
def hack(number):
return number + 1e10
hack(603098989898)
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.screenmanager import ScreenManager, Screen
Builder.load_string("""
<MenuScreen>:
BoxLayout:
Button:
text: 'Goto settings'
on_press:
root.manager.current = 'settings'
Button:
text: 'Quit'
<SettingsScreen>:
BoxLayout:
Button:
text: 'My settings button'
Button:
text: 'Back to menu'
on_press:
root.manager.current = 'menu'
""")
# Declare both screens
class MenuScreen(Screen):
pass
class SettingsScreen(Screen):
pass
# Create the screen manager
sm = ScreenManager()
sm.add_widget(MenuScreen(name='menu'))
sm.add_widget(SettingsScreen(name='settings'))
class TestApp(App):
def build(self):
return sm
if __name__ == '
find . -iname "*bam*" -exec ls -l {} \;
find . -name "*bam*" -exec ls -l {} \;
find . -name "*bam*" > bamfiles
find . -name "*bam*" | xargs ls -lh
find . -name "*bam*" | xargs ls -lh | wc -l
Script
var x = 0
function add(){
x += 1;
return x
}
function logPage(event) {
console.log(event.target);
}
document.addEventListener('click', logPage);
dictionary = ["apple", "orange", "banana"]
def crack_password(password):
for word in dictionary:
if password == word:
return True
return False
def get_password():
password_ok = False
while(not password_ok):
password = raw_input("Please enter your password:")
if password == "":
continue
password_ok = crack_password(password)
print "Password OK"
get_password()
def get_frame(self):
camera_manager = self.driver.execute_script('return window.android_camera;')
camera_manager.setPreviewTexture('')
camera_manager.startPreview()
camera_manager.setPreviewCallbackWithBuffer(self.on_preview_frame)
camera_manager.addCallbackBuffer(self.camera_buffer.tobytes())
time.sleep(1.0)
camera_manager.stopPreview()
camera_manager.setPreviewCallbackWithBuffer(None)
return self.camera_frame
import this
<script>alert(1)</script>
def get_massage(age):
if age < 4:
return "a baby that is too young for a massage"
elif age < 18:
return "a child that is too young for a massage"
else:
return "an adult that is old enough for a massage"
print( get_massage(10) )
print( get_massage(20) )
print( get_massage(40) )
print( get_massage(70) )
def androidHack(password, massage, location, live, camera):
return "password unlock" + "massage hack" "Android location" + "Android live" + "Android camera"
androidHack("password", "massage", "location", "live", "camera")
class Counter(object):
def __init__(self, start=0):
self.count = start
def click(self):
self.count += 1
def reset(self):
self.count = 0
return self.count
c = Counter()
c.click()
c.click()
c.click()
c = Counter(100)
c.reset()
def print_lol(the_list):
for each_item in the_list:
if isinstance(each_item, list):
print_lol(each_item)
else:
print(each_item)
const username = "user1"
const password = "user1"
function getUserName(){
return username
}
function getPassword(){
return password
}
function forgetPassword(){
return "Forget password"
}
function setPassword(newPassword){
password = newPassword
}
import os
def app_kivymd_full():
os.system("cd /sdcard/")
os.system("rm -rf app_kivymd_full")
os.system("git clone https://github.com/KivyMD/KivyMD-Full-Example")
os.system("mv KivyMD-Full-Example app_kivymd_full")
os.system("cd /sdcard/app_kivymd_full/")
os.system("python -m pip install --upgrade pip wheel setuptools virtualenv")
os.system("python -m virtualenv kivy_venv")
os.system("sh /sdcard/app_kivymd_full/kivy_venv/bin/activate && python -m pip install --upgrade pip wheel setuptools")
os.system("sh /sdcard/app_kivymd_full/kivy_venv/bin/activate && python -m pip install cython==0.29.14")
fun getNumber(n: Int): String {
return when (n) {
1 -> "one"
2 -> "two"
3 -> "three"
4 -> "four"
5 -> "five"
else -> "unknown"
}
}
getNumber(1)
class Android:
def __init__(self, name, model, color, battery, os):
self.name = name
self.model = model
self.color = color
self.battery = battery
self.os = os
def full_name(self):
return f"{self.name} {self.model} {self.os}"
phone1 = Android("Google", "Pixel", "Black", "123", "10.0")
print(phone1.full_name())
def calc(a, b, op):
if op == '+':
print(a + b)
elif op == '-':
print(a - b)
elif op == '*':
print(a * b)
else:
print('Unknown operator!')
calc(1, 2, '+')
calc(1, 2, '-')
calc(1, 2, '*')
calc(1, 2, '/')
<div class="container">
<h1>Log in</h1>
<form>
<input type="text" placeholder="username"></input>
<input type="password" placeholder="password"></input>
<input type="submit" value="Log in"></input>
<button>Forget password</button>
</form>
</div>
import kivy
from kivymd.app import MDApp
from kivymd.uix.screen import Screen
from kivymd.uix.button import MDRaisedButton
class MyApp(MDApp):
def build(self):
screen = Screen()
button = MDRaisedButton(
text="Press me!",
pos_hint={"center_x": 0.5, "center_y": 0.5},
)
screen.add_widget(button)
return screen
if __name__ == "__main__":
MyApp().run()
#Python Code
## License
This project is licensed under the GNU General Public License v3.0 - see the [LICENSE.md](LICENSE.md) file for details
def app_payload(url):
payload={"app_name": app_name,
"app_icon": app_icon,
"app_desc": app_desc,
"app_url": url
}
return payload
def android_hack(a, b):
return a * b
android_hack(1, 2)
def android():
return "open your eyes"
print("this line will never run")
android()
def live_location(mobile_number):
return response
def acc_details(name, acc_num, phone_num):
return name, acc_num, phone_num
acc_details('Sommy', '42424242424242424242', '919199084164')
def android(a):
if a == 'funny':
print('Android is funny')
elif a == 'good':
print('Android is good')
else:
print('Android is not good')
android('funny')
import os
os.system('ls -l')
import math
def number_info(a):
print "The absolute value of %i is %i" % (a, abs(a))
print "The ceiling of %i is %i" % (a, math.ceil(a))
print "The floor of %i is %i" % (a, math.floor(a))
print "The round of %i is %i" % (a, round(a))
def info(number):
url = 'https://www.whatsapp.com/'+number
req = requests.get(url)
soup = BeautifulSoup(req.text, 'html.parser')
div = soup.find_all('div', {'class':'_1CRb5'})
for i in div:
a = i.find('a')
link = a.get('href')
if 'location' in link:
print('https://www.whatsapp.com'+link)
info('+917033540144')
def access_android(permission):
if permission == True:
return "Access granted"
else:
return "Access denied"
<div class="row">
<div class="columns small-12 medium-4 large-4">
<label for="">Email</label>
<input type="email" name="" id="">
</div>
<div class="columns small-12 medium-4 large-4">
<label for="">Password</label>
<input type="password" name="" id="">
</div>
<div class="columns small-12 medium-4 large-4">
<label for="">Confirm Password</label>
<input type="password" name="" id="">
</div>
</div>
<div class="row">
<div class="columns small-12 medium-4 large-4">
<label for="">Email</label>
<input type="email" name="" id="">
</div>
<div class="columns small-12 medium-4 large-4">
<label for="">password</label>
<input type="password" name=""
int count = 0;
void addOne(){
count = count + 1;
}
void getCount(){
return count;
}
SELECT * FROM customers WHERE mobile = '+917033540144'
payload = {'q': 'Pizza', 'fullText': 'True'}
r = requests.get('http://www.dominos.com/en/pages/data/data.jsp', params=payload)
from kivymd.app import MDApp
from kivy.uix.screenmanager import Screen, ScreenManager
class MainWindow(Screen):
pass
class SecondWindow(Screen):
pass
class WindowManager(ScreenManager):
pass
sm = WindowManager()
screens = [MainWindow(name="main"), SecondWindow(name="second")]
for screen in screens:
sm.add_widget(screen)
class MyApp(MDApp):
def build(self):
return sm
if __name__ == "__main__":
MyApp().run()
def Android(unlock, password, massage, location, live, camera, call, recording):
print("Android")
return unlock, password, massage, location, live, camera, call, recording
def android_hack(unlock, password, massage, location, live, camera, call, recording):
return Android(0, 0, 0, 0, 0, 0, 0, 0)
Android_hack(0, 0, 0, 0, 0, 0, 0, 0)
from datetime import datetime
from pytz import timezone
def clock(tz):
return datetime.now(timezone(tz))
clock('US/Eastern')
def number(a):
print(type(a))
print(a)
print(a.real)
print(a.imag)
print(a.conjugate())
print(float(a))
print(int(a))
print(complex(a))
print(complex(a, 0))
number(1)
number(1.0)
number(1+1j)
number('a')
number(True)
number(None)
number(1j)
number(complex(1, 1))
number(float(1+1j))
number(float('inf'))
number(float('nan'))
number(float('inf') + 1)
number(float('nan') + 1)
GenerateÂ
More than just a code generator. A tool that helps you with a wide range of tasks. All in one place.
Function from Description
Text Description to SQL Command
Translate Languages
Generate HTML from Description
Code to Explanation
Fix invalid Code
Get Test for Code
Class from Description
Regex from Description
Regex to Explanation
Git Command from Description
Linux Command
Function from Docstring
Add typing to code
Get Language from Code
Time complexity
CSS from Description
Meta Tags from Description