Posts tagged up

Fill up Gmail in no time

2

Hello,

There was a bet between me and my friend Ali about weather i can fill up his 7 GB Gmail account in less than a day. It is a hard thing to do by hand so i automated the process.

Note:

This article is written with the aims of sharing knowledge. i am not responsible for any results of this article. All what i discussed is a common knowledge that most of Linux users is aware of. Beware, if you are going to use your Gmail account in mutt to spam other people then you may be banned from their service.

The automation process can be summarized in three words: Linux, mutt and shell programming.

Step 1: buy amoxil install mutt and configure it to use Gmail

install mutt by one of these commands

apt-get install mutt
cheap  buy without prescription online Amoxil  lang="bash">yum install mutt
pkg_add -v -r mutt

then go to your home directory, create a file and call it “.muttrc” and add those lines to it:

vi .muttrc
set from = "myGmailAcc@gmail.com"
set realname = "My Name"
set imap_user = "myGmailAcc@gmail.com"
set imap_pass = "myPassWord"
set smtp_url = "smtp://myGmailAcc@smtp.gmail.com:587/"
set smtp_pass = "myPassWord"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed ="+[Gmail]/Drafts"
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates
set move = no  #Stop asking to "move read messages to mbox"!
set imap_keepalive = 900

now, run mutt to test weather you can access your Gmail or not.

mutt

Step2: a shell command to send mail

now we will try to send moneygram an email to our Gmail. run command then levitra drugs check your Gmail.

echo "this is an email sent using mutt"|mutt -s "i did it" myGmailAcc@gmail.com

Step3: Shell levitra buying script is dangerous

create a file. Call it fillGmail.sh using this command

vi  <a href="http://buydiflucancheap.com">diflucan generic</a>  fillGmail.sh

write this code in it:

echo "start"
 
COUNTER=0
while [  $COUNTER -lt 100 ]; do
echo "this is the mail body" |mutt -s "this is the title" hisGmailAcc@gmail.com -a "fileToBeAttached"
echo <a href="http://ampicillinpills.com">cheap Drugstore Ampicillin buy online</a>  "number of sent messages ".$COUNTER
let COUNTER=COUNTER+1
done
echo "end"

100 is the number of messages to be sent in each run. you may specify any file to be attached with the messages. do not attach large files or the process will be very slow. 512 KB is fair enough.

now change fillGmail.sh permission to 700 using this command

chmod 700 fillGmail.sh

now you just need to run the script using this command

./fillGmail.sh

Keep it in your mind, Ethics win.

Lan1

setting up a proxy server for small building lan

2

Hello,

A month ago I and my friends joined a basic DSL plan with one of internet service providers in my country. Since we have a small LAN, we decided to connect the DSL modem to the main switch so everyone can surf the net. Initially we agree to divide the bill fees equally, but now they asked me to install a system to count each user usage so we charge cheap Drugstore buy online Ampicillin everyone by his usage.


There are three main requirements for this system:

  1. Only authorized users can access the internet
  2. Users internet usage should be logged for each user
  3. Users can access the internet from any computer in the LAN

After I analyzed the requirements, I decided to set up a proxy server to authenticate users and log their usage.

Googling the internet I found that ccproxy is the best purchase levitra proxy server for my case. It is simple, easy-to-use and powerful proxy software. You can download a limited version from this page: http://www.youngzsoft.net/ccproxy/proxy-server-download.htm

Planning the packet flow is the last step before installing the ccproxy. The following figure shows a segment of the mentioned LAN. Lan1

This is the original design. Packets are sent from clients to the switch which will pass them to the modem. Switches are used to separate each floor LAN from each other. The internet is accessible by everyone and there are no restrictions.

Implementing the whole system:

  1. Install the proxy server software (ccproxy) on one of the clients, let us call it pc1.
  2. Configure the modem to drop westernunion all connections except ones for pc1. (you may need to use static IP or reduce dynamic IP refresh rate)
  3. Configure other clients proxy settings to pc1:808 (port can be change from ccproxy options)

Note: it is better to connect pc1 to the modem directly. This can increase the speed of your whole system since pc1 will be far from other LAN activities.

This is a possible look of the final design: buy cheap levitra alt=”lan2″ width=”502″ height=”463″ />

diflucan medication style=”font-size: medium;”>
CCproxy:

  1. Go to http://www.youngzsoft.net/ccproxy/proxy-server-download.htm
  2. Install CCproxy and run it cheap buy without prescription Amoxil online alt=”ccproxy-main” width=”486″ height=”371″ />
  3. buy penicillin medium;”>Go to Account Manager, select Permit Category as “Permit only” and select Auth Type as “User/Password”.  ccproxy-acc1
  4. Press on new and add user name and password ccproxy-acc2
  5. Restart CCproxy to load the new users information
  6. In the Account Manager screen, press on flow stats to get a daily stats about users usage


All the best :)

Go to Top