Posts tagged linux
fedora 12: Yum Cannot retrieve repomd.xml
2it 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
colorful C++ in Dos
0hi 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().
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.
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.
All the best
Stop viruses and worms manually
3Hi 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”

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

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
0buy 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.
sniffing lan networks, my way
0Hi 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.

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.

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