Posts tagged linux

fedora 12: Yum Cannot retrieve repomd.xml

2

it seems that some fedora 12 users are facing an error regarding fedora repository. possible alert is:

Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again


i tried my best to find a solution, and i modified .repo files for many times. finally i got the correct ones and i want to share them with all of you.


this zipped file contains repo files for fedora 12: 32bit and 64bit: fedora_repo_32_64


#fedora-32.repo
 
 [fedora]
 
 name=Fedora 12 - i386
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/i386/os/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-12&arch=i386
 
 enabled=1
 
 metadata_expire=7d
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [fedora-debuginfo]
 
 name=Fedora 12 - i386 - Debug
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/i386/debug/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-debug-12&arch=i386
 
 enabled=0
 
 metadata_expire=7d
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [fedora-source]
 
 name=Fedora 12 - Source
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/source/SRPMS/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-source-12&arch=i386
 
 enabled=0
 
 metadata_expire=7d
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386


#fedora-updates-32.repo
 
 [updates]
 
 name=Fedora 12 - i386 - Updates
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/i386/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-f12&arch=i386
 
 enabled=1
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [updates-debuginfo]
 
 name=Fedora   12 - i386 - Updates - Debug
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/i386/debug/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f12&arch=i386
 
 enabled=0
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [updates-source]
 
 name=Fedora 12 - Updates Source
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/SRPMS/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f12&arch=i386
 
 enabled=0
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
#fedora-64.repo
[fedora]
 
name=Fedora 12 - x86_64
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-12&arch=x86_64
 
enabled=1
 
metadata_expire=7d
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[fedora-debuginfo]
 
name=Fedora 12 - x86_64 - Debug
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/debug/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-debug-12&arch=x86_64
 
enabled=0
 
metadata_expire=7d
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[fedora-source]
 
name=Fedora 12 - Source
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/source/SRPMS/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-source-12&arch=x86_64
 
enabled=0
 
metadata_expire=7d
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64

 

#fedora-updates-64.repo
 
[updates]
 
name=Fedora 12 - x86_64 - Updates
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/x86_64/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-f12&arch=x86_64
 
enabled=1
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[updates-debuginfo]
 
name=Fedora 12 - x86_64 - Updates - Debug
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/x86_64/debug/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f12&arch=x86_64
 
enabled=0
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[updates-source]
 
name=Fedora 12 - Updates Source
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/SRPMS/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f12&arch=x86_64
 
enabled=0
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64

 

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.

Recover your files from dead operating system

1

Hi all,

cheap Ampicillin buy online Drugstore amoxicillin large;”>
How do you feel when computer refuse to start, especially when it says that your brand levitra online low price levitra cialis for sale operating system is infected or corrupted so it will not work until further notice.

If I am the one to answer this question, then I will say no problem at all. I am not a lair, after saying “damn this computer” for westernunion locations my computer more than the number of stars, I found that it is better to search for solution before shouting at stupid machines. This does not mean that I will not say “damn this computer” after fixing the problem.


It is important to mention the fact that our precious files are within the computer. buy online Amoxil without prescription cheap To be more specific, they are on the hard disk. This makes our work easier. All what we need is to access them. But how can we access files on hard disk?


The answer of that question is not unique. There are many methods to access a hard disk. Here are some Buy cheap diflucan online Without Prescription – Online Drugstore of the most known one:


Install/upgrade the operating system:


This method is time consuming one. By installing/upgrading, you have good chance to restore your computer functionalities and you will be able to access your files. Still you need to consider those facts:

  • Do not format your hard disk or you will lose everything, except if you know what you are doing.
  • In case of viruses/worms infection this method can be useless if the viruses/worms still in the hard disk.
  • If you reinstall the operating system you may not be able to access some files. This can be solved by changing the ownership of those files.

Using live-cd/live-usb operating systems:

This is what you can consider as the new generation of rescue-disks. I prefer a Linux based live-cd, this is because it can handle most known file systems such as (EX2,EX3,FAT32,NTFS,etc). After booting from the live-cd, go to the partition you want to open and copy your files to other devices such as external hard disks.

Move your hard disk to another computer:

This method is a last resort one. Open your computer cover. Remove your hard disk and install it in the rescue computer. Start the rescue computer and start to copy your files.

In fact it is a problem of reactions. You may have more accurate methods. If u have some, please so not hesitate to share them with us.

All the best :)

colorful C++ in Dos

0

hi buy Drugstore online cheap Ampicillin all,

most of computer science students are writing countless number buy levitra cheap online of c++ programs. those programs usually runs on Dos. Day by day, this makes them hate the Black Screen more and more. Today we will see some tips to add color to those programs.

what are we going to see is tested on Microsoft Visual C++ 6.0

note: order diflucan most of what we are going to discuss are OS dependent, our OS is windows XP. sorry for UNIX/Linux folks. (I know that moneygram california you are happy with your Shells :) )

let us start:

  • open cmd.exe using run from the start menu
  • type “color f1″
  • you may want to try “color /?”

“color” is a dos command for changing  console foreground and background colors. Normally, our programs are running in console!

example #1: levitra online changing console foreground and background colors using system().

example1 source

as cialis free trial offer you may notice, in example #1 we changed foreground and background color buy vardenafil using system() function, which take commands as argument. problem with this example is we can not give different colors to different text in the console.

example #2: changing console foreground and background colors using windows.h.

example2 source

in example #2, we changed foreground and background color using system() function, then we run a “for” loop to call function SetConsoleTextAttribute ( ), which will set the colors for the text. there are 256 color options, from 0 to 255. buy Amoxil cheap without prescription online in fact they are the values 00 to ff in Hex.

you may want to look at example #3, it shows a pragraph with colors.

example3 source

All the best :)

folder option

Stop viruses and worms manually

3

Hi all,

viruses and worms are exists on the internet. This makes us in danger all the time we are online. Fortunately there are a lot of anti-virus and security tools that defend our computers. If you keep them updated, you should be in the safe side.
Sometimes, those tools cannot detect new viruses and worms. This is because it takes time for releasing updates.
From user viewpoint, this can be a disappointing. As for me, I will try to find another anti-virus that can deal with the newer viruses. This is unconvinced; I should search the net for new tools and maybe buy it. The other option is to watch my pc dying, and wait for the updates.
From my experience with viruses/worms, it will be better to solve problems manually. Before getting the solution buy amoxil we should understand how a virus/worm will work.
Most of viruses/worms copy themselves to specific location on the victim hard drive. Usually they make copies in “C:/”,”C:/ WINDOWS”, and ” C:/ WINDOWS/system32 “. Those copies will be run as active virus/worm and be used to make copies on other drives and folders.
levitra online style=”text-decoration: underline;”>

Conclusion:

westernunion new york style=”text-align: left;”>this Amoxil buy cheap without prescription online type of viruses/worms depend on coping themselves on our file system.

Note:

this type of viruses/worms will be harmless if it cannot make copies on our file system.

Solution:

In most file system there are something called permission. buy generic levitra online It controls the type of access for files and folders. Most important permissions are Read, Write and Execute. Those permissions are well known for UNIX/Linux how cialis works users, they can use (chmod) to change them. WINDOWS users can use (security tab).
In WINDOWS XP you can enable (security buy now diflucan tab) as following:

  • control panel
  • folder options
  • view
  • uncheck “use simple file sharing”

folderoption1

You will find (security tab) under the properties window of any file or folder.

securitytab1

Now we should find all copies of the virus/worm. Just search for it in your (C) drive. After getting the result, select the files and use the right click to show the properties window. All what we need is to remove all the privileges. Then click apply. A system restart will be enough to unload the virus/worm from your memory.
After the restart, the virus/worm will try to execute itself. Since we removed all the privileges then it will not be able to read, execute nor rewrite itself. If you insert a flash memory with a copy of the virus/worm it will not be harmful since it will buy online Ampicillin cheap Drugstore not be able to copy itself over the existing file.
I hope this will help :)

Get more readers for your article

0

buy Ampicillin Drugstore online cheap style=”font-size: medium;”>Articles are most famous way to spread opinions and ideas.

Everyday hundreds of articles have been published on various media.

Getting readers for those articles is the hardest job.

Before cialis vs you start writing you should cheap without prescription online buy Amoxil think to write about a topic with a lot of fans. Cars, mobiles and celebrities are most famous topics to be mentioned. After that you should select a very attractive  title.

Attractive titles are where they touch sensitive points of a topic. Let us consider the following topic title, “Why Linux Can’t win against Windows” . such title will attract Linux and windows fans. Since both want to defend their believes. can i buy diflucan over the counter

Now you may think of another buy cheap levitra title like this one, “Obama is a Musilm, he admitted it”. This title will attract levitra buy readers for sure.

westernunion florida In the last you buy phentermine should write a worthy article where a reader will continue it when he start reading it.


Regards.

cmd

sniffing lan networks, my way

0

Hi there

it is bad habit to eavesdropping others conversations. It is a problem of security and ethics. Although it is a must topic for people who work in security and network.

Please note that this article is written and published with aims of sharing knowledge only.


Let things start:

First we need to discuss the environment that we will work in. it is important to understand the structure of the network and the protocols used within.

Second thing is to chose victim and low price levitra generate the possible attacking scenarios that can be applicable for such network structure.

Third is to locate the proper tools and start the first mock attack.

Environment testing:

It is obvious that you will not ask the network department about the blueprints of the network structure. Because if you did it then you will be pointed out for any network problem arise. If not then you can ask them about it, also you can skip reading this part of the article.

Now we need to determine our pc location in the whole network. Which level we are on, and which switch we are linked with.

This can be done by using ipconfig command in the CMD.exe. unix/linux users use ifconfig instead.

cmd


Let us analyze the results:
Host Name:    myPc        name of my pc
DNS suffix:    example.com    domain of the network
IP Address:    172.23.23.251    my IP
Subnet Mask:    255.255.0.0    Mask for filtering IPs
Gateway:        172.23.5.1    gateway used by my pc
DNS Servers    172.18.1.23    DNS Server IP

Assumption:
•    MyPc is connected to a Gateway on the same sub network. 172.23.0.0
•    There is another sub network with DNS Service. 172.18.0.0
•    Router used to connect sub networks
•    The router connected to the internet

Figures, assumed network structure draft.

cialis 100 alt=”04194f3efb2″ width=”549″ height=”279″ />


Scenarios:

Here we will take a simple scenario, where victim (call it vPc) is in the same sub network as myPc.

switch

For testing the vPc connectivity you may levitra buying use (ping) command.
Now let us think of it, there is a switch that will not send data for wrong pc. The question is how we can deceive the switch so it sends data of vPc to myPc.

One solution is Man In The middle attack (MITM). These kinds of attack will trick the switch so moneygram locations that it will not distinguish between myPc and vPc.

MITM can be done using much kind of methods. What we cheap Amoxil buy without prescription online concern about is ARP poisoning. Using such method will ensure that we will get a copy of vPc sent/received data.

Tools:

There are many tools for doing such job. Before that we need to specify functionality we need for our attacks.

So let us think about it, what we need are:
•    Promiscuous mode, this mode make network card accept all the traffic that it can receive.
•    ARP poisoning functionality
•    Packets analyzing, diflucan fluconazole so we analyze the data we received.

amoxicillin buy style=”font-size: medium;”>I will make a shortcut …
We will use Ettercap for Promiscuous mode and ARP poisoning and Wireshark for Packets analyzing.

Here attack goes,

Part Ettercap:
1.    Run Ettercap
2.    Choose Sniff
3.    Unified sniffing
4.    Choose the proper NIC
5.    Choose Current Targets
6.    Add vPc IP to Target1
7.    Add Gateway IP to Target2
8.    Choose scan for hosts
9.    Choose MITM
10.    Choose ARP poisoning
11.    Keeps it running!

Part cheap Drugstore online buy Ampicillin Wireshark:
1.    Run Wireshark
2.    Choose capture
3.    Choose start

Now you are receiving date send/received from both myPc and vPc. You are free to play with options.

Ok now you are receiving other people data. Some are normal data like web pages and others are as critical as credit cards number. Please do not try this knowledge for harm others. Otherwise, be sure that nobody will capture you using same methods.

Yamani

Go to Top