Disqus for Cyber Fort

Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Thursday, 9 January 2014

Why You Should Learn to Run a Server Before You Learn to Code

1 Comment

server

To the disappointment of everyone who wants to learn to code so they can get rich or powerful, developer Dave Winer tells us that's probably not going to happen. He lists good reasons why you might want to learn to code, but recommends you learn to run a server first.


Learning to code is good if you have a calling, if you feel it's what you must do to express yourself. If you have ideas that you can implement in code that no one else is doing. Or if you just love the puzzles that programming is constantly presenting you with. You have to have a certain amount of self-hatred to love programming, between, because it's a grind. And to do it well you have to have a lot of all of these things.
You might think that by learning to code you get to be the Man Behind the Curtain, the all-powerful person who makes the digital world work. But that's not what coding is about. If you want power, and I've said this many times — rather than learn to code — first learn to run a server. That's real power. And it's far easier than programming.


Plus, running a server, Winer says is a gateway into programming. 
This advice echoes a previous perspective about learning to work with technology 
(only it's less dismissive of the benefits of learning to code).

Learning to code will not make you rich
 (or particularly powerful) | Scripting News

Photo by gruntzooki.

Read More

Friday, 29 November 2013

Top 10 Websites To Test Coding Online

Be The First To Comment
In this article I want to outline 10 interesting web apps for testing your code online. All of these apps require an Internet connection, and some of the more advanced editors offer pro plans to upgrade your account features. But most of these tools will surely come in handy when you’re scrambling to debug a block of JavaScript or PHP.
Modern trends and webapps have dramatically changed the way web developers can build. Obviously you need some type of IDE to code new files and save them for deployment. But what about just testing your code snippets? There are more tools available now than ever before!


1. CodePad

codepad is an online compiler/interpreter, and a simple collaboration tool. Paste your code below, and codepad will run it and give you a short URL you can use to share it in chat or email.

2. Write Code Online
The main website for WriteCodeOnline.com actually redirects to their JavaScript editor. You can choose among JS, PHP, and basic URL encoding. Their application is very safe to use and feels lighter than other alternatives.
What’s interesting is that you’ll see the output results directly underneath the text field. So when you hit “run code” it will parse through everything and display the result for you to see. It can be tough debugging some larger PHP scripts because you need to include other files.



3.TinkerBin
                    
                           

Tinkerbin lets you play with HTML,Javascript and CSS without creating files or uplading to servers. It also supports Coffeescript, Sass(with compass), Less, HAML and more. Tinkerbin may actually be my favorite online code editing resource. It supports web developers coding in HTML5/CSS3/JS and renders the output directly on-screen. The application is still in Alpha development, but most of the tools work perfectly and can quickly catch bugs.

4. JS Bin


In a similar fashion as above, jsbin is a simple JavaScript debugging console. Their pitch involves a collaborative effort where you can share a private link with other developers and write together in real time.
As you’re coding different elements the drafts will autosave. You have the ability to download your final product or keep the source code saved online. Their system is much more advanced for exporting and keeping your code as a bare template.

5. JS Fiddle


jsfiddle is one the most popular playground for web developers. It’s an online editor for snippets build from HTML, CSS and JavaScript.You can also share your code snippets with others and embed them in a blog.

Anybody who has browsed through Stack Overflow must know about jsFiddle. Their interface is a whole lot difference compared to JS Bin, along with support for more complex functions. Right away you can signup for a free account and start saving your code samples online. jsFiddle offers a short URL which you can share around the Web via Twitter, Facebook, even Stack. But notice you do not need an account to start coding. It’s just a handy feature to keep everything organized.
6. CSS Desk



Moving from the world of scripting into stylesheet language, we have CSSDesk. You’ve got a similar setup like all the rest, with your source code on the left and final webpage render on the right. This webapp is great for building small webpage templates and testing the longer CSS3 properties with gradients and box shadows.

7. JSdo.it

 
Some of the apps appear to have Japanese writing which makes me believe it was originally created somewhere in Asia. But what I love about their interface is how you can actually upload files you’ve already created and store them into a project. It’s such an easy process to store full webpage mockups online where you can access and edit them from any computer.

8. Google Code PlayGround


I would recommend saving this tool only as a resource. It’s not perfect for debugging everything you write. But Google is a huge company with a lot of open source API data. If you ever need to pull content from YouTube or custom Google Searches, this is the sandbox you want to use.
Google Code Playground is another great online tool test and run your code without opening an external editor.All of the API’s are loaded for you in the Pick an API box

9.IDEOne


What’s so great about their app is how you can quickly debug many different programming languages from the same page. You can also store this source code via a unique URL to share around the Web. However I do feel that their layout is very cluttered with ads and other content, it makes using their website difficult. It would be really cool to see the option of including alternate code libraries, such as Cocoa Touch for iPhone app development.

10. Viper 7 CodePad


This webapp also named 
Codepad is hosted on a website viper-7.com, which also redirects to the same online editor. Their debugging tools are setup for PHP output where you can change between PHP5 and PHP4.
If you create an account you can use their service as a personal storage system. Much like other online editors, you can name each PHP project and keep them hosted online for free. It’s such a powerful code editor because you don’t need any software on your computer at the time. As you parse each script the editor will offer additional meta details, such as browser request & response headers.

Read More

Tuesday, 16 July 2013

How to: Hack Any FB Account Using Cookie Stealing

Be The First To Comment
Today in this article I am going to explain how to steal such cookies of different accounts using Cain – Abel and Wireshark software and how to use it to access our victim accounts.
First off I need to say that this will NOT steal anyones password unless they log in while you are monitoring them. This will however give you their cookies which you can use to steal there session and have full acess to their account. This will work for Facebook, a lot of emails (sorry no gmail), and just about any forum (except this one). If you are familiar with SSLstrip you can use this method to hijack any session (paypal, bank websites, any email, etc.)

Facebook Cookie Stealing And Session Hijacking

Wireshark Software to capture cookies:
Wireshark is the best free packet sniffer software available today. Actually, it was developed for making a network secure. But, the same software is now used by hackers to test for vulnerability and security loopholes in the network and to attack the network accordingly. Cookie stealing being one of the types of hacks implemented using this Wireshark software.
Requirements:
Cain and Abel : http://www.oxid.it/cain.html
Wireshark : http://www.wireshark.org/
Firefox 3 (or one compatable with add n edit) : http://www.oldapps.com/firefox.php?old_firefox=59
Add n Edit (cookie editor for firefox) : https://addons.mozilla.org/en-US/firefox/addon/add-n-edit-cookies/
Acess to the network with user you want to hack
Network traffic
Prerequisites: Download and install all above programs. To add “Add n Edit” to your browser just open firefox, go to tools, then click add-ons. you can drag and drop the program from wherever you saved it into the little box that popped up and install it from there.
Below, I have listed steps on how to capture Facebook and other accounts cookies. This will help you to know how Wireshark and Cain-Abel can be used to sniff packets and capture cookies.

First: Gain acess to the Network. Open networks or your own network would be easy but if you have a specific slave you want you should be able to gain acess using Backtrack.
Tip: use reaver to exploit WPS for WPA/WPA2 encryptions, WEPs are easy to crack given time and OPN means there is no password.
Second: Right click Cain and choose ‘run as administrator.’ on the top bar go to ‘configure’ and be sure to select your wireless card/adapter. now click where it says ‘Sniffer’ then this litte button towards the top left:

Next click any empty white box then the blue “+” symbol near the button you pressed just before. choose okay

should look like this:

These are all the devices it was able to detect.

Now we go to APR on the bottom bar. Once again click any empty white box then the blue cross. It’s easiest to just go one by one and choose all possibilities.
Now we have to poison them so we choose the little yellow hazard symbol towards the top left. should now look like this:
we are done here, just minimize Cain for now.
Third: Run wireshark as administrator. On the top bar choose ‘Capture’ then ‘Interfaces.’ Here you will have to choose your interface that is connected to the Network we are sniffing from. if you wait a few seconds you might see some traffic being collected as seen in my photo, just choose that interface b/c thats most likely it.
Wireshark will list and color-code all the traffic it sees for you. To make this simpler we can use the filter to only see the traffic we want, Type “http.cookie” in the filter. (Something to consider is to just filter to “http” and scroll through the entries looking for ones that start with the word “POST” this means that information was submitted to the webpage noted such as a username and a password! so if you see this just look through the details and you should see the info you want, most passwords will be hashed but use this site to decript them:http://www.md5decrypter.co.uk/ )
Here is an image:
You can either look through this information manually or use the search function to find what you want. In my case i want to hijack the session of a user on the forum freerainbowtables.com so i will use the search function (press Ctrl+F, or go to edit -> search) and type in the information i know for sure will be in the entry. if your hijacking someones facebook put ‘facebook’ there. Most of the time to be safe i do not use the first entry i see b/c this will only work if the person is auto logged in, so just go down a few more until you see one you think will work (just use common sense).
What we need are the cookies. Here are what mine look like and how to get there. With practice you will be able to tell which cookies are used for logins and be able to limit failed attempts.
Copy the cookies as value and save them into a notepad (shown in pic above). I would suggest to seperate everywhere you see a “;” bc this suggests that is the begining of the next entry. The text to the left of the = is the name of the cookie and the text to the right is its value.
Final: Open up your firefox browser with Add n Edit enabled. You can get to your add ons by going to tools and they should all be listed in the drop down tab. First go to the website you are hijjacking the session from then open your cookie editor. Should look something like this:

The last thing to do is to change your cookies to match the ones you captured. If the cookies given to you by the site expire (like the ones in my picture do) you will have to delete them and add all the ones we captured earlier in. if they do not expire you can just edit them. Bottom line is all the cookies must match the cookies you captures in the earlier steps EXACTLY! Make sure you do not add any extras and that you did not miss anything. Also all fields must be filled in (Path and Domain as well as Name and Value). My path is “/” and my domain is “.freerainbowtables.com”
mine looks like this:
You are now done, Just close the cookie editor and reload the webpage. If done correctly with the correct cookies you should be logged in as the user you attacked!
So guys, I hope this
Facebook Cookie Stealing And Session Hijacking
will help you to hacking facebook as well as different types of account like hotmail yahoo etc by stealing their cookies. If you have any problem in above Facebook Cookie Stealing And Session Hijacking tutorial, please mention it in comments.
Read More

Monday, 24 June 2013

Top 10 Programming Languages In 2014

Be The First To Comment
If you are software engineer, computer programmer or tech savvy so this post worth lot for you, So we have compiled list of best programming languages. This list is very useful especially for those beginners who wants to jump in information technology or computer science field. Newbies always want to get know about that which  programming language is better to learn, have lots of reputation and market demand as well. Considering all important factors including market demand, Language future, functionality and popularity we compiled this list to provide you best information which guides you what to learn that worth.
1. Java Programming language
 

Yes no doubt Java is the Top programming language. Because it have massive developers and over billions of Computers are using Java services. It also have major shares in mobile and Android market which shows clearly that how much future and demand it have.



2. C programming language




C programming language is developed by an American computer scientist name DennisRitchie. Who developed this language for Unix. In my opinion it is mother of programming language because the one if learn this language can easily understand code of any language. The main strength  of this language is speed and weaknesses is difficult to learn and memory management.

3. C++ Programming language
C++ in simple words is the updated version of C programming language. C++ comes with OOP (object oriented programming)  feature which is the main reason of this language to come because C language is lack of this feature. It is developed in 1979 by Bjarne Stroustrup.its strength is same like C its weakness is it is considered clumsy compared to java.


4. Objective C programming language 

Objective C is basically used in development of iPad and iPhone apps. This language is growing massively because Apple devices is becoming more popular and people like to use apple devices which contains IOS. All apps of IOS are programmed in objective C so it have lot of potential and future.

5. PHP programming language


php basically used in web application and web developments projects. It is developed in 1996 byRasmus lerdorf. it is multi-paradigm language use for scripting html and developing major web application. Its best part is that php is mother of web programming and also its good documentation features. The negative part is its syntax errors and security problems.


6. Visual Basic language
Visual Basic is one of the best choice for those who loves to develop apps in windows. It is founded by Microsoft corporation. The best part of this language is that it is easy to use and you can develop any kind of application in it but the weak part is that it only runs in windows.

7. C# or C sharp 

C# is also developed byMicrosoft it is pretty much similar to java because of its nature. It is an open specification programming language but majority of programmer only use this on windows platform. It is not as user friendly as C or C++ are.
Advantages:- It is powerful and very fast as compared to other languages 
Disadvantages:- Runs smoothly only on Windows platform
8. Python
Python is found in 1980 by Guido van Rossum. It if also multi-paradigm, object oriented, highly readable and easily understandable language. Python becomes more popular because of big fishes who love to benefit their organizations from this language like Google and Ubuntu. Its name is not given on the name of snake but it was given after Monty Python comedy group. Advantages:-1.Opensource programming language 2.Easily to understand and ReadDisadvantages:- 1.Documentation problems like php 2.Quite slow
9. JavaScript
 JavaScript was developed in 1995 in the same year that Java is introduced. But the fact is that JavaScript have nothing similar with Java they both are unique languages and have totally different features. JavaScript is also multi-paradigm  and interpreted language. It is scripting language and mostly used to enhance web browsers, It is generally used to validate forms and for styling AJAX (a programming languages) web applications. In upcoming days we will see complex apps which will be develop in this language.

10. Ruby and Perl

Ruby and Perl both takes number ten because we can’t ignore even one of them. They both are great programming languages if we talk about Ruby so it is a major object oriented language and open source as well. It is developed by Yukihiro Matsumoto in 1995. Now its Perl’s turn, Perl is developed by Larry Wall in 1986. It is an interpreted and multi-paradigm language. It is strong in processing and system administration scripting but in my opinion it is not much valuable but still best in some cases. It loses its hold when new languages such as PHP, Ruby and Python introduced. But if learn this language so it benefits you a lot and tells concept about other languages as well.


how u like this information tell me from comments......
Read More