Anti-Firesheep Trick Protects Linux Users





The Firesheep plug-in for Firefox has done an admirable job of illustrating the insecurity of public Wi-Fi, just as its creators intended. Now that it's out there in the wild, however, the question for users is how to protect their sensitive information.

On the Windows side, pretty much all we've seen so far have been tools that simply alert you when Firesheep is being used on the network you're connected to. Unfortunately, they don't go beyond that to actually protect your data.
For Linux users, however, the situation is better. A free new solution from security firm Sophos lets users of the open source operating system "browse over unencrypted Wi-Fi access points with no more risk than you'd browse at home," according to its blog post from earlier today.
It takes only 60 seconds to set up, even for users on the road, and it works even if you're already working over unencrypted Wi-Fi, the company says.
Remote Browsing
Sophos's solution centers on a 120-line Python http proxy hosted at a URL in Japan. Users begin by visiting that URL and then cutting and pasting the proxy into an editor and saving it, resulting in a 4500-byte file.
Next, users secure-copy that file onto the shell server on their home network so they can run the proxy remotely, away from the insecure Wi-Fi network. They then start that proxy with an encrypted SSH tunnel so they can send and receive the http content securely from that insecure Wi-Fi network to their home network, where the browsing requests will actually take place.
Users then simply tell their browser that they're going to surf over that SSH tunnel to the remote proxy, effectively allowing them to browse the Web from the airport or wherever via the security of their home network.
A YouTube video demonstrates the process involved, including the specific commands and Firefox settings.
The Linux Advantage
Linux users already enjoy many widely acknowledged security advantages over their Windows counterparts, so it's nice to see one more such benefit in the world of Wi-Fi.
As for Windows users? They'd probably do well to consider Wi-Fi alternatives such as tethering or MiFi, at least when dealing with sensitive data.

New virus travels in PDF files


On Tuesday morning, Network Associates' McAfee antivirus division became aware of the first virus--known as "Peachy"--that uses PDF to spread, said Vincent Gullotto, senior director of McAfee's Avert group.

Fortunately, those who are simply viewing a PDF, or Portable Document Format, file aren't vulnerable. The virus spreads only by way of Adobe's Acrobat software--the program used to create PDF documents--not through Acrobat Reader, the free program that is used to view the files.

There is no way for this to affect Acrobat Reader," said Adobe's Sarah Rosenbaum, director of Acrobat product management. "The code in Acrobat that recognizes attachments does not exist in Reader."

Peachy exploits an Acrobat feature that allows people to embed other files within a PDF--attachments that can be opened only by people using Acrobat.

Right now it's considered to be a low risk because we haven't seen it reported to us from a customer," Network Associates' Gullotto said.

But the Peachy virus raises the issue that PDF files--widely used to display documents within Web browsers and e-mail--could become a new channel for spreading viruses.

What I'm concerned about here is that this could be a new frontier," said Richard Smith, chief technology officer of the Privacy Foundation. "It's considered to be a safe file format." Smith posted news of the virus to the Bugtraq security mailing list Tuesday.

It's clear that if Adobe modified future versions of Reader so that it could read attachments embedded in PDF files, the program could fall victim to Peachy's descendents.

Rosenbaum said that while it's possible Adobe might add attachment-handling capability in future editions of Acrobat Reader, the company has no immediate plans to do so.

Smith said he believes Acrobat Reader software could prove susceptible in any case. Indeed, the Computer Emergency Response Team posted news of a vulnerability in the Windows version of Acrobat in November 2000 that could let an outside attacker gain control over the computer of a person who simply viewed a PDF file. Adobe patched that hole.

Adobe said any popular software becomes a target for security attacks and Acrobat has crossed that threshold.

"I think the attraction...has reached a critical level recently," Rosenbaum said. "It's only been in the last 18 to 24 months that PDF...use has really exploded."

How Peachy works
Acrobat lets people embed different file types within a PDF, including everything from the VBScript programs--used in the LoveLetter virus--to an actual executable program, Gullotto said.

Peachy is named after a small game in a PDF file that involves finding peaches, Gullotto said. According to a person called Zulu, who said he wrote Peachy, showing the solution to the game runs a VBScript file.

The virus then spreads to others using e-mail addresses collected from Microsoft Outlook, Gullotto said. Hiding the VBScript file in a PDF document bypasses the filters in newer versions of Outlook that ordinarily screen out VBScript files.

However, these more recent versions of Outlook, such as Outlook 2002 or those that have been patched with a security update, do take measures that hamper viruses such as Peachy, said David Jaffe, lead product manager for Microsoft Office. Although PDF files--and whatever embedded programs are hidden in them--aren't screened out, Outlook warns the user when a virus or other automated process tries to access Outlook's address book or use the program to send e-mail, Jaffe said.

Through an agreement with Adobe announced in June, McAfee's software can scan PDF files, Gullotto said. However, as with other virus types, the software isn't always able to catch new viruses until its definitions are updated.

Updated virus descriptions released by McAfee next week will be able to detect Peachy, Gullotto said.

But Adobe doesn't currently plan to prevent VBScript or other files from running.

To prevent Peachy from being able to run, "the change we would have to make is not to allow VBScript attachments. That is a problem for a lot of our customers," Rosenbaum said. "If they change their opinion, we will do what they want."

People with the full version of Acrobat will have to exercise caution when opening attachments to PDF files. However, opening attachments isn't automatic: A cautionary dialog box asks if a person wants to proceed.


Kode HTML Tulisan


For my friends who want to display text that can move or seriing called animated text, you can learn the material on this baawah:


1. Using the marquee

Marquee is an HTML tag that can give the effect of motion on a text from several directions ,,,,, Carana are as follows:




<marquee>Belajar blog</marquee>
Belajar blog


It had a basic code of the tag animation walk, treating more beautiful unruk writings, we, need to add my other animation animation-like direction, behavior, scrollamount, scrolldelay, loops and bgcolor. for more details, please see the example dobawah nie ...

<marquee direction='right'>Belajar blog</marquee>
Belajar blog
<marquee direction='left'>Belajar blog</marquee>
Belajar blog
<marquee direction='up'>Belajar blog</marquee>
Belajar blog

<marquee direction='down'>Belajar blog</marquee>
Belajar blog

<marquee behavior='scroll'>Belajar blog</marquee>
Belajar blog
<marquee behavior='slide'>Belajar blog</marquee>
Belajar blog
<marquee behavior='alternate'>Belajar blog</marquee>
Belajar blog

<marquee scrollamount='20'>Belajar blog</marquee>
Belajar blog
<marquee scrollamount='50'>Belajar blog</marquee>
Belajar blog

<marquee scrolldelay='150'>Belajar blog</marquee>
Belajar blog
<marquee scrolldelay='200'>Belajar blog</marquee>
Belajar blog

<marquee loop='3'>Belajar blog</marquee>
Belajar blog
<marquee loop='5'>Belajar blog</marqueetunyaten>
Belajar blog

<marquee bgcolor='yellow'>Belajar blog</marquee>
Belajar blog
<marquee bgcolor='blue'>Belajar blog</marquee>
Belajar blo

nah ...., from the example above of course tmen-tmen can combine the tags to be sbuah new animation, just as below ..

<marquee direction='up' behavior='alternate' scrollamount='35'>Belajar blog</marquee>
Belajar blog

For another combination please kreasikan themselves within their view that you want.

Animation effects by using the "blink"

Blink is an HTML tag that can give effect to flash from a text. Here's how the writing of blink tags and the resulting effects:

<blink>Belajar blog</blink>
Belajar blog

Program Limas dengan Java

just for fun if ya aja aja help make my friends who again butuhin yes even though the program immediately wrote a simple cuman
The first main function ne ane pake source:


package limassegi4;

public class Main {

public static void main(String[] args) {
java.awt.EventQueue.invokeLater(new Runnable() {

public void run() {
new limasJFrame().setVisible(true);
}

});
}

}

It is a function mainya continues on to make a new Class of Class Java Class
and we nih content source:


package limassegi4;

public class limas {
//ATTRIBUT
private int panjang;
private int lebar;
private int tinggi;
private int alas;
private int diameter;

public limas(int p, int l, int t, int a, int d){
//KONSTRUKTOR
//PUBLIC LIMAS
this.panjang = p;
this.lebar = l;
this.tinggi = t;
this.alas=a;
this.diameter=d;
}

limas(int p, int l, int t) {
this.panjang=p;
this.lebar=l;
this.tinggi=t;
}
//AKSESOR
public int getLebar() {
return lebar;
}

public void setLebar(int lebar) {
this.lebar = lebar;
}

public int getPanjang() {
return panjang;
}

public void setPanjang(int panjang) {
this.panjang = panjang;
}

public int getTinggi() {
return tinggi;
}

public void setTinggi(int tinggi) {
this.tinggi = tinggi;
}
public int getAlas(){
return alas;
}
public void setAlas(int alas){
this.alas=alas;
}
public int getdiameter(){
return diameter;
}
public void setdiameter(int diameter){
this.diameter=diameter;
}
//METHOD
public float volume(){
double v = 0;
return(float) (0.33*(panjang*lebar)*tinggi);
}

public float luas(){
double luas = 0;
return(float) ((panjang*lebar)+(4*0.5*lebar*tinggi));
}

public int keliling(){
double kel = 0;
kel = Math.sqrt((Math.pow(Math.sqrt((Math.pow(panjang, 2)) +
(Math.pow(lebar, 2)))/2, 2)) + (Math.pow(tinggi, 2))) * 8;
return (int) kel;
}
}


when it's finished we just created jFramenya ahhiiiii
nih immediately wrote
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

/*
* limasJFrame.java
*
* Created on 04-Nov-2010, 09:32:50
*/

package limassegi4;

/**
*
* @author quadra
*/
public class limasJFrame extends javax.swing.JFrame {

/** Creates new form limasJFrame */
public limasJFrame() {
initComponents();
}

@SuppressWarnings("unchecked")
//
private void initComponents() {

jColorChooser1 = new javax.swing.JColorChooser();
jTextl = new javax.swing.JTextField();
jTextt = new javax.swing.JTextField();
jTextp = new javax.swing.JTextField();
jButton1 = new javax.swing.JButton();
jTexthasil = new javax.swing.JTextField();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel();
jLabel7 = new javax.swing.JLabel();
jLabel8 = new javax.swing.JLabel();
jTextluas = new javax.swing.JTextField();
jLabel9 = new javax.swing.JLabel();
jLabel10 = new javax.swing.JLabel();
jTextField1 = new javax.swing.JTextField();
jLabel11 = new javax.swing.JLabel();
jLabel12 = new javax.swing.JLabel();
jLabel13 = new javax.swing.JLabel();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setAlwaysOnTop(true);
setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));

jTextl.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextlActionPerformed(evt);
}
});

jTextp.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTextpActionPerformed(evt);
}
});

jButton1.setText("OK");
jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton1MouseClicked(evt);
}
});
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});

jTexthasil.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jTexthasilActionPerformed(evt);
}
});

jLabel1.setText("PANJANG");

jLabel2.setText("LEBAR");

jLabel3.setText("TINGGI");

jLabel4.setText("VOLUME");

jLabel5.setText(":");

jLabel6.setText(":");

jLabel7.setText(":");

jLabel8.setText(":");

jLabel9.setText("LUAS");

jLabel10.setText(":");

jLabel11.setText("KELILING");

jLabel12.setText(":");

jLabel13.setText("LIMAS SEGI EMPAT");

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(11, 11, 11)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 56, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(95, 95, 95))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)
.addComponent(jLabel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)
.addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE)
.addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, 133, Short.MAX_VALUE))
.addGap(57, 57, 57)))
.addGroup(layout.createSequentialGroup()
.addComponent(jLabel11)
.addGap(109, 109, 109)))
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(28, 28, 28))
.addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addComponent(jLabel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addComponent(jLabel12, javax.swing.GroupLayout.PREFERRED_SIZE, 7, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 126, Short.MAX_VALUE)
.addComponent(jTextluas, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 126, Short.MAX_VALUE)
.addComponent(jTextt, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 126, Short.MAX_VALUE)
.addComponent(jButton1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 126, Short.MAX_VALUE)
.addComponent(jTexthasil, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 126, Short.MAX_VALUE)
.addComponent(jTextl, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 126, Short.MAX_VALUE)
.addComponent(jTextp, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 126, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap())
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap(18, Short.MAX_VALUE)
.addComponent(jLabel13, javax.swing.GroupLayout.PREFERRED_SIZE, 355, javax.swing.GroupLayout.PREFERRED_SIZE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(13, 13, 13)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel1)
.addComponent(jLabel5)
.addComponent(jTextp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2)
.addComponent(jLabel6)
.addComponent(jTextl, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(12, 12, 12)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel3)
.addComponent(jLabel7)))
.addGroup(layout.createSequentialGroup()
.addGap(15, 15, 15)
.addComponent(jTextt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGap(11, 11, 11)
.addComponent(jButton1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jTexthasil, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel8)
.addComponent(jLabel4))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jTextluas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel9)
.addComponent(jLabel10))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel11)
.addComponent(jLabel12))
.addGap(18, 18, 18)
.addComponent(jLabel13, javax.swing.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE))
);

pack();
}//


private void jTextpActionPerformed(java.awt.event.ActionEvent evt) {


}

private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {
int p = Integer.parseInt(jTextp.getText());
int l = Integer.parseInt(jTextl.getText());
int t = Integer.parseInt(jTextt.getText());

limas climas = new limas(p,l,t);
jTexthasil.setText(String.valueOf(climas.volume()));
jTextluas.setText(String.valueOf(climas.luas()));
jTextField1.setText(String.valueOf(climas.keliling()));

}

private void jTexthasilActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}

private void jTextlActionPerformed(java.awt.event.ActionEvent evt) {

}

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
}

/**
* @param args the command line arguments
*/
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new limasJFrame().setVisible(true);
}
});
}

// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JColorChooser jColorChooser1;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTexthasil;
private javax.swing.JTextField jTextl;
private javax.swing.JTextField jTextluas;
private javax.swing.JTextField jTextp;
private javax.swing.JTextField jTextt;
// End of variables declaration

}

Well presumably so n view of the GUI guess - something like ...

Good Luck.^_^