├── accounts.json ├── geckodriver.log ├── .gitignore ├── run_multiple_process.py ├── README.md ├── lastNames.csv ├── ww └── ww.csv ├── bb └── wb.csv ├── test2.py ├── create_algerian_facebook_account.py └── test.py /accounts.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /geckodriver.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore Tor Browser folder 2 | Tor Browser/ 3 | 4 | # Ignore facebook with Tor folder 5 | facebook with Tor/ 6 | -------------------------------------------------------------------------------- /run_multiple_process.py: -------------------------------------------------------------------------------- 1 | import multiprocessing 2 | import subprocess 3 | import time 4 | 5 | def run_project(): 6 | 7 | # Run the Python file containing your project code 8 | subprocess.run(["python", "generate_algerian_facebook_account.py"]) 9 | 10 | if __name__ == '__main__': 11 | num_processes = 5 # Set the number of processes you want to run concurrently 12 | 13 | processes = [] 14 | for _ in range(num_processes): 15 | p = multiprocessing.Process(target=run_project) 16 | processes.append(p) 17 | p.start() 18 | 19 | for p in processes: 20 | p.join() 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Auto Facebook Creator 2 | 3 | Create Facebook accounts with randomized profiles using Python and the Tor Browser for anonymity. 4 | 5 | ## Overview 6 | 7 | This Python project automates Facebook account creation with unique profiles. It leverages Python scripts, web scraping, and browser automation for this purpose. 8 | 9 | ## Prerequisites 10 | 11 | Before diving into this project, ensure the following prerequisites are in place: 12 | 13 | 1. **Folder Structure:** Your project folder should have the following structure: 14 | - `run_multiple_process.py` 15 | - `create_algerian_facebook_account.py` 16 | - `Tor Browser/` (Tor Browser installation) 17 | - `lastNames.csv` 18 | - `bb/` and `ww/` directories (with CSV files) 19 | 20 | **Note:** Please place your Tor Browser installation in the same directory as your project files. 21 | 22 | 2. **Dependencies:** Install required Python libraries using pip: 23 | 24 | ```bash 25 | pip install selenium beautifulsoup4 pyautogui names passwordgenerator 26 | 27 | ## Usage 28 | 29 | To utilize this project, follow these steps: 30 | 31 | Execute run_multiple_process.py to create multiple Facebook accounts with randomized profiles (or execute create_algerian_facebook_account.py if you need only to create one facebook account). 32 | 33 | The create_algerian_facebook_account.py script generates random profile details, including email (from online fake email provider website (https://www.fakemailgenerator.com/), you need to change the code if the website is no longer in service), password, names, and gender, by automating the Facebook registration page. 34 | 35 | Tor Browser is used for anonymity during the account creation process. 36 | ## Customization 37 | You can customize the project by modifying create_algerian_facebook_account.py, allowing you to adjust profile information generation or use different email services. 38 | 39 | ## License 40 | This project is open-source and available under the MIT License. 41 | 42 | 43 | -------------------------------------------------------------------------------- /lastNames.csv: -------------------------------------------------------------------------------- 1 | Saidi ,89157 2 | Slimani ,83542 3 | Touati ,83272 4 | Mansouri ,79694 5 | Brahimi ,75470 6 | Messaoudi ,75022 7 | Haddad ,73780 8 | Yahiaoui ,71861 9 | Rahmani ,68134 10 | Dahmani ,67753 11 | Sahraoui ,67424 12 | Benaissa ,66806 13 | Moussaoui ,62553 14 | Salhi ,62039 15 | Bouziane ,62020 16 | Saadi ,59520 17 | Aissaoui ,58857 18 | Benyahia ,58144 19 | Belhadj ,57558 20 | Amara ,57558 21 | Abbas ,56568 22 | Merabet ,56415 23 | Mokhtari ,56259 24 | Taleb ,55737 25 | Bouzid ,54394 26 | Mebarki ,53860 27 | Khaldi ,51683 28 | Bouzidi ,51339 29 | Hadji ,50285 30 | Zitouni ,49170 31 | Hamdi ,49147 32 | Hamidi ,49082 33 | Talbi ,48047 34 | Cherifi ,47858 35 | Kadri ,47769 36 | Bouras ,46438 37 | Abed ,45970 38 | Toumi ,45886 39 | Belaid ,45790 40 | Benali ,45085 41 | Achour ,44827 42 | Taibi ,44763 43 | Chaib ,44556 44 | Larbi ,44091 45 | Chergui ,44074 46 | Ziani ,43004 47 | Nasri ,42761 48 | Madani ,42727 49 | Belarbi ,42694 50 | Yousfi ,42034 51 | Kadi ,41868 52 | Boukhalfa ,41806 53 | Abid ,40962 54 | Gasmi ,40309 55 | Bensalem ,40127 56 | Abdelli ,39984 57 | Amari ,39427 58 | Azzouz ,38736 59 | Zaidi ,38681 60 | Arab ,38309 61 | Meziane ,38081 62 | Daoudi ,37909 63 | Amrani ,36790 64 | Khelifa ,35952 65 | Cherif ,35664 66 | Zaoui ,35607 67 | Ameur ,35593 68 | Zerrouki ,35492 69 | Soltani ,35297 70 | Hassani ,34911 71 | Belkacem ,34685 72 | Hachemi ,34533 73 | Khelifi ,33512 74 | Salmi ,33317 75 | Rahal ,33268 76 | Benamara ,33150 77 | Mahmoudi ,33061 78 | Ziane ,33030 79 | Hamadi ,32987 80 | Ayad ,32730 81 | Dahmane ,32618 82 | Boukhari ,32370 83 | Abdi ,32222 84 | Mansour ,32116 85 | Dib ,32082 86 | Laib ,32041 87 | Zouaoui ,32017 88 | Daoud ,31971 89 | Gacem ,31300 90 | Chabane ,31078 91 | Ferhat ,31027 92 | Ramdani ,30856 93 | Benahmed ,30822 94 | Hamza ,30810 95 | Latreche ,30809 96 | Benamar ,30639 97 | Rahmouni ,30604 98 | Houari ,30541 99 | Bensaid ,30456 100 | Saoudi ,30295 101 | Abdellaoui ,30083 102 | Dif ,30039 103 | Seddiki ,29876 104 | Boudraa ,29412 105 | Kaddour ,29378 106 | Gharbi ,29314 107 | Berkane ,28855 108 | Lamri ,28762 109 | Boumaza ,28431 110 | Makhlouf ,28305 111 | Sayah ,28197 112 | Bouaziz ,28144 113 | Azizi ,28059 114 | Mokrani ,28016 115 | Abbes ,27988 116 | Laouar ,27817 117 | Makhloufi ,27651 118 | Abbou ,27618 119 | Kara ,27290 120 | Said ,27211 121 | Miloudi ,26943 122 | Belkacemi ,26935 123 | Brahmi ,26649 124 | Derradji ,26624 125 | Abdelaziz ,26531 126 | Saidani ,26256 127 | Mohammedi ,26158 128 | Amrane ,25990 129 | Benaouda ,25604 130 | Ouali ,25523 131 | Mecheri ,25506 132 | Belaidi ,25195 133 | Aissani ,25112 134 | Meziani ,24972 135 | Allali ,24956 136 | Boudjemaa ,24800 137 | Benyoucef ,24742 138 | Zidane ,24486 139 | Merah ,24323 140 | Nouri ,24216 141 | Fellah ,24180 142 | Hamlaoui ,24107 143 | Senouci ,24016 144 | Kebaili ,23729 145 | Loucif ,23660 146 | Bouchareb ,23621 147 | Guendouz ,23570 148 | Lakhal ,23471 149 | Hadjadj ,23435 150 | Mekki ,23364 151 | Yahia ,23358 152 | Djoudi ,23331 153 | Belkadi ,23274 154 | Rachedi ,23006 155 | Chaoui ,22923 156 | Adda ,22776 157 | Djebbar ,22719 158 | Bahloul ,22664 159 | Touil ,22512 160 | Boussaid ,22450 161 | Bouguerra ,22380 162 | Lakhdari ,22352 163 | Berkani ,22224 164 | Ammari ,22213 165 | Hamzaoui ,22133 166 | Salah ,22075 167 | Boutaleb ,22058 168 | Gherbi ,22057 169 | Hamel ,22053 170 | Hammadi ,22050 171 | Salem ,22006 172 | Bakhti ,21945 173 | Zeroual ,21901 174 | Henni ,21893 175 | Naili ,21849 176 | Merzoug ,21771 177 | Bahri ,21719 178 | Bouazza ,21589 179 | Yahi ,21586 180 | Tahri ,21545 181 | Meddah ,21527 182 | Hamoudi ,21496 183 | Mazouz ,21300 184 | Laribi ,21244 185 | Moulay ,21180 186 | Bouali ,20930 187 | Malki ,20834 188 | Charef ,20828 189 | Boubekeur ,20802 190 | Abbad ,20742 191 | Belkheir ,20739 192 | Bekkouche ,20686 193 | Rezig ,20675 194 | Guessoum ,20642 195 | Diaf ,20617 196 | Bensalah ,20574 197 | Amri ,20529 198 | Benameur ,20398 199 | Bacha ,20385 200 | Merzougui ,20360 201 | Belkhiri ,20048 202 | Sellami ,20011 203 | Mihoubi ,19916 204 | Boualem ,19816 205 | Kaci ,19729 206 | Sahli ,19704 207 | Cheriet ,19697 208 | Boumediene ,19655 209 | Bouafia ,19473 210 | Benmoussa ,19427 211 | Moussa ,19290 212 | Mimouni ,19256 213 | Benyamina ,19252 214 | Mahi ,19226 215 | Mokrane ,19197 216 | Djellouli ,19140 217 | Korichi ,19138 218 | Otmani ,19119 219 | Ghazi ,19072 220 | Rabhi ,19047 221 | Hocine ,18969 222 | Noui ,18836 223 | Achouri ,18789 224 | Cheikh ,18767 225 | Rahmoune ,18675 226 | Mostefaoui ,18594 227 | Djellal ,18562 228 | Fares ,18559 229 | Ayadi ,18551 230 | Chibani ,18515 231 | Bourahla ,18462 232 | Nouar ,18454 233 | Kaddouri ,18324 234 | Chikh ,18306 235 | Bey ,18289 236 | Khaled ,18194 237 | Guerfi ,18145 238 | Hamadouche ,18106 239 | Kebir ,18087 240 | Bekhouche ,17983 241 | Boucetta ,17724 242 | Baghdadi ,17712 243 | Derouiche ,17697 244 | Sabri ,17670 245 | Derbal ,17613 246 | Khelil ,17575 247 | Benabdellah ,17551 248 | Rais ,17540 249 | Abbassi ,17477 250 | Lakehal ,17476 251 | Maouche ,17397 252 | Meftah ,17334 253 | Bounab ,17253 254 | Attia ,17216 255 | Filali ,17166 256 | Belbachir ,17041 257 | Mazouzi ,16995 258 | Menad ,16917 259 | Ikhlef ,16901 260 | Saad ,16842 261 | Haddouche ,16841 262 | Mokadem ,16824 263 | Nacer ,16789 264 | Hamdani ,16727 265 | Abada ,16705 266 | Tahraoui ,16637 267 | Madi ,16619 268 | Morsli ,16582 269 | Kouidri ,16494 270 | Smail ,16470 271 | Amrouche ,16449 272 | Mesbah ,16359 273 | Bettahar ,16320 274 | Khadir ,16306 275 | Bakhouche ,16280 276 | Tabet ,16248 277 | Bouchama ,16225 278 | Allal ,16209 279 | Medjahed ,16182 280 | Saci ,16166 281 | Derkaoui ,16099 282 | Ouchene ,15977 283 | Khelif ,15912 284 | Boudiaf ,15819 285 | Malek ,15791 286 | Soudani ,15719 287 | Lahmar ,15663 288 | Benaicha ,15623 289 | Bencheikh ,15621 290 | Benziane ,15589 291 | Lounis ,15549 292 | Boukhatem ,15524 293 | Abdou ,15503 294 | Bouabdellah ,15471 295 | Rabia ,15444 296 | Benslimane ,15422 297 | Nedjar ,15350 298 | Aribi ,15333 299 | Aberkane ,15330 300 | Kamel ,15314 301 | Haoui ,15292 302 | Belkhir ,15266 303 | Mahdi ,15237 304 | Bensaci ,15236 305 | Sahnoune ,15187 306 | Sid ,15138 307 | Hammoudi ,15134 308 | Sebti ,15101 309 | Mehdi ,15097 310 | Nadji ,15089 311 | Boucherit ,15030 312 | Benbrahim ,15026 313 | Abidi ,14971 314 | Idir ,14917 315 | Hasnaoui ,14866 316 | Ferrah ,14834 317 | Chaouche ,14831 318 | Ouadah ,14829 319 | Ghoul ,14828 320 | Krim ,14792 321 | Chikhi ,14768 322 | Belhadi ,14751 323 | Rouabah ,14719 324 | Meddour ,14692 325 | Gouasmia ,14686 326 | Benmansour ,14679 327 | Barkat ,14663 328 | Hamida ,14611 329 | Chibane ,14600 330 | Saadaoui ,14561 331 | Saouli ,14560 332 | Amraoui ,14538 333 | Aggoune ,14520 334 | Tidjani ,14517 335 | Dahou ,14492 336 | Mohamed ,14447 337 | Azzi ,14442 338 | Djemai ,14427 339 | Messai ,14391 340 | Lalaoui ,14385 341 | Mohamedi ,14370 342 | Meslem ,14359 343 | Hamdaoui ,14357 344 | Litim ,14356 345 | Messaoud ,14352 346 | Kasmi ,14349 347 | Brahim ,14313 348 | Seghir ,14275 349 | Djaballah ,14252 350 | Aissa ,14236 351 | -------------------------------------------------------------------------------- /ww/ww.csv: -------------------------------------------------------------------------------- 1 | 21,YASMINE 2 | 18,Sarah 3 | 17,imane 4 | 14,amina 5 | 14,Ines 6 | 12,meriem 7 | 12,Sabrina 8 | 12,lina 9 | 11,Nour 10 | 10,amel 11 | 10,Manel 12 | 9,Rania 13 | 9,katia 14 | 9,amira 15 | 9,Asma 16 | 9,Sofia 17 | 9,nesrine 18 | 8,Mina 19 | 8,feriel 20 | 8,lynda 21 | 8,sara 22 | 8,selma 23 | 8,anais 24 | 7,MARIA 25 | 7,lilia 26 | 7,lydia 27 | 7,Ikram 28 | 7,cilia 29 | 7,Melissa 30 | 7,Farah 31 | 7,Sophia 32 | 6,khadidja 33 | 6,camelia 34 | 6,Aya 35 | 6,Mira 36 | 6,Chiraz 37 | 5,Dounia 38 | 5,Samira 39 | 5,lily 40 | 5,Lisa 41 | 5,celine 42 | 5,sonia 43 | 5,ryma 44 | 5,mimi 45 | 5,Nawel 46 | 4,Safia 47 | 4,Bouchra 48 | 4,Hadjer 49 | 4,imane 50 | 4,leila 51 | 4,linda 52 | 4,souad 53 | 4,Asmaa 54 | 4,yasmina 55 | 4,fatima 56 | 4,hiba 57 | 4,Rym 58 | 4,Maya 59 | 4,fouzia 60 | 4,Kenza 61 | 4,chanez 62 | 4,Lili 63 | 3,batoul 64 | 3,Ghada 65 | 3,sophie 66 | 3,kahina 67 | 3,fidy 68 | 3,Soraya 69 | 3,Nina 70 | 3,NADIA 71 | 3,Coraline 72 | 3,nassima 73 | 3,Myriam 74 | 3,hana 75 | 3,thinhinane 76 | 3,yousra 77 | 3,narimane 78 | 3,sam 79 | 3,nedjma 80 | 3,lila 81 | 3,anissa 82 | 3,Julie 83 | 3,Nacera 84 | 3,rose 85 | 3,Serine 86 | 3,fella 87 | 2,Nihad 88 | 2,Hind 89 | 2,lylia 90 | 2,Ryna 91 | 2,Hania 92 | 2,Laetitia 93 | 2,Zineb 94 | 2,ibtissem 95 | 2,Dalia 96 | 2,Mya 97 | 2,ZOLA 98 | 2,malika 99 | 2,faiza 100 | 2,mona 101 | 2,Chahinez 102 | 2,Houda 103 | 2,imen 104 | 2,Yin 105 | 2,Dikra 106 | 2,Hayat 107 | 2,jojo 108 | 2,Lamia 109 | 2,cherifa 110 | 2,moon 111 | 2,Rim 112 | 2,khaoula 113 | 2,dina 114 | 2,fatiha 115 | 2,hayet 116 | 2,ilhem 117 | 2,zakia 118 | 2,lidia 119 | 2,Cylia 120 | 2,maroua 121 | 2,nabila 122 | 2,silya 123 | 2,wafa 124 | 2,Soumaya 125 | 2,JASMINE 126 | 2,Dona 127 | 2,sabrine 128 | 2,liza 129 | 2,marwa 130 | 2,nawal 131 | 2,sarra 132 | 2,Djamila 133 | 2,Ouarda 134 | 2,wafae 135 | 2,Soumia 136 | 2,Mounia 137 | 2,tina 138 | 2,zina 139 | 2,douaa 140 | 2,meryem 141 | 2,Racha 142 | 2,Dahlia 143 | 1,reb 144 | 1,sassi 145 | 1,Tania 146 | 1,yume 147 | 1,Abbi 148 | 1,annhester 149 | 1,CezayirliKiz 150 | 1,djazia 151 | 1,fatma 152 | 1,kacisoumia 153 | 1,leatissia 154 | 1,melyna 155 | 1,nacima 156 | 1,ouiz 157 | 1,Sisi 158 | 1,wafaee 159 | 1,ALINE 160 | 1,Choupette 161 | 1,efsoul 162 | 1,Iman 163 | 1,linachekroun 164 | 1,Manureva 165 | 1,narjes 166 | 1,Nelia 167 | 1,rani 168 | 1,sameh 169 | 1,soundous 170 | 1,Yassumi 171 | 1,Angie 172 | 1,DhikraAmel 173 | 1,farh 174 | 1,jay 175 | 1,Lucie 176 | 1,mazgha 177 | 1,Mugblood 178 | 1,nourshan 179 | 1,rosette 180 | 1,Shymagda 181 | 1,tinalevy 182 | 1,aigoun 183 | 1,chano 184 | 1,kati 185 | 1,lili-mahoni 186 | 1,Maleksamia 187 | 1,Messaouda 188 | 1,naima 189 | 1,Rachida 190 | 1,wiwi 191 | 1,Eva 192 | 1,Iness 193 | 1,khokho 194 | 1,lolo 195 | 1,maryam 196 | 1,moly 197 | 1,Nawell 198 | 1,nihed 199 | 1,Reem 200 | 1,Saya 201 | 1,Tara 202 | 1,zahira 203 | 1,abby 204 | 1,anya 205 | 1,CHAFIKA 206 | 1,djedjiga 207 | 1,Fayna 208 | 1,hora 209 | 1,lee 210 | 1,lyna 211 | 1,lynda 212 | 1,Nada 213 | 1,oulebsir 214 | 1,sadia 215 | 1,sissi 216 | 1,wahiba 217 | 1,Amani 218 | 1,bel 219 | 1,Connie 220 | 1,elisa 221 | 1,Ghania 222 | 1,khadija 223 | 1,LinaYasmine 224 | 1,MINI 225 | 1,narjess 226 | 1,Nemimen 227 | 1,Samia 228 | 1,Stephanie 229 | 1,Yee 230 | 1,Angy 231 | 1,Camy 232 | 1,Didouche 233 | 1,farou 234 | 1,Hassiba 235 | 1,jocline 236 | 1,Laila 237 | 1,Lunca 238 | 1,medina 239 | 1,Noussa 240 | 1,Roumaissa 241 | 1,Sihem 242 | 1,toufik 243 | 1,aish 244 | 1,Ayda 245 | 1,chela 246 | 1,DouniaAmira 247 | 1,Ichraka 248 | 1,Michu 249 | 1,nanita 250 | 1,Radia 251 | 1,Sahra 252 | 1,YAMINA 253 | 1,Boutayna 254 | 1,dalila 255 | 1,HAFIDA 256 | 1,Ismahane 257 | 1,kimsonyiachan 258 | 1,lololili 259 | 1,Massilia 260 | 1,nawelle 261 | 1,rihana 262 | 1,scheerazad 263 | 1,Tasnime 264 | 1,Zahra 265 | 1,ahlam 266 | 1,djedjigua 267 | 1,Fayouza 268 | 1,kamar 269 | 1,meri 270 | 1,papilloncharriere 271 | 1,sabaa 272 | 1,walaa 273 | 1,biba 274 | 1,elissar 275 | 1,gomme 276 | 1,Khalida 277 | 1,Marina 278 | 1,minou 279 | 1,nina 280 | 1,ranouch 281 | 1,suria 282 | 1,ania 283 | 1,CarolannAngle 284 | 1,farroudj 285 | 1,Meissa 286 | 1,Myassa 287 | 1,oli 288 | 1,roumi 289 | 1,sila 290 | 1,Unke 291 | 1,zozo 292 | 1,Akai-Tsuki 293 | 1,Ayra 294 | 1,douz 295 | 1,flora 296 | 1,katya 297 | 1,Liliche 298 | 1,mamichou 299 | 1,milany 300 | 1,nano 301 | 1,rahaf 302 | 1,Salima 303 | 1,Yara 304 | 1,AmiraYasmine 305 | 1,BOUTHAINA 306 | 1,Damia 307 | 1,fame 308 | 1,Haidi 309 | 1,Ivyrach 310 | 1,Kima 311 | 1,Loubna 312 | 1,massilva 313 | 1,Nayla 314 | 1,Noha 315 | 1,Scheherazade 316 | 1,Tedjini 317 | 1,Zaid 318 | 1,Ahlem 319 | 1,chahira 320 | 1,djoher 321 | 1,Fayrouz 322 | 1,Housna 323 | 1,Kami 324 | 1,Lexi 325 | 1,Maha 326 | 1,MERIAM 327 | 1,nadjah 328 | 1,phoenix 329 | 1,sabiha 330 | 1,sofya 331 | 1,wassila 332 | 1,Amelia 333 | 1,bibich 334 | 1,ilaf 335 | 1,Grace 336 | 1,LindaTouati 337 | 1,Marissa 338 | 1,Nasssima 339 | 1,rayane 340 | 1,syrine 341 | 1,yoran 342 | 1,Anies 343 | 1,judy 344 | 1,lara 345 | 1,Meliissa 346 | 1,omyma 347 | 1,Roza 348 | 1,silia 349 | 1,Victoire 350 | 1,Alexisbullock 351 | 1,Babine 352 | 1,Cherine 353 | 1,Dream 354 | 1,Florenda 355 | 1,Kauther 356 | 1,manal 357 | 1,miliyara 358 | 1,nanou 359 | 1,Rahima 360 | 1,Salma 361 | 1,souhila 362 | 1,Amsa 363 | 1,brianne 364 | 1,Danielsa 365 | 1,fan 366 | 1,JASMIN 367 | 1,Kira 368 | 1,Louisa 369 | 1,maymaria 370 | 1,moula 371 | 1,nazo 372 | 1,Norhane 373 | 1,Rima 374 | 1,Selena 375 | 1,aicha 376 | 1,assouma 377 | 1,CHAHRAZAD 378 | 1,djoudja 379 | 1,Fayza 380 | 1,hybride 381 | 1,kaouther 382 | 1,maissoune 383 | 1,Naghem 384 | 1,pretty 385 | 1,Someone 386 | 1,WASSIM 387 | 1,Amelle 388 | 1,Bila 389 | 1,Emna 390 | 1,Guidance 391 | 1,IMENElitacalaway 392 | 1,Khedoudja 393 | 1,MIRINA 394 | 1,Nawa 395 | 1,nessrine 396 | 1,RAZANE 397 | 1,Tafeth 398 | 1,anisha 399 | 1,Dinane 400 | 1,Julia 401 | 1,lauraestelle 402 | 1,lydiapierre 403 | 1,badr 404 | 1,dyhia 405 | 1,Fofolle 406 | 1,ILYANA 407 | 1,Kawthar 408 | 1,Lilya 409 | 1,mima 410 | 1,Ran 411 | 1,Amy 412 | 1,bush 413 | 1,Dantotsu 414 | 1,hanan 415 | 1,kong 416 | 1,Louiza 417 | 1,Mouna 418 | 1,Nouha-yasmine 419 | 1,Rofia 420 | 1,Thiziri 421 | 1,Zara 422 | 1,AichaMars 423 | 1,Assyrem 424 | 1,chainez 425 | 1,fedy 426 | 1,hyeon 427 | 1,Karines 428 | 1,Malak 429 | 1,MERY 430 | 1,nahla 431 | 1,PrincesseDiana 432 | 1,wawa 433 | 1,Amethyste 434 | 1,bina 435 | 1,dadouche 436 | 1,Emy 437 | 1,hadayit 438 | 1,ina 439 | 1,Khedoudja-Rym 440 | 1,Miryame 441 | 1,neyla 442 | 1,Razika 443 | 1,tahima 444 | 1,Yuki 445 | 1,Aba 446 | 1,ceryne 447 | 1,FatimaZohra 448 | 1,Hinan 449 | 1,leaticia 450 | 1,Lyds 451 | 1,mella 452 | 1,sirine 453 | 1,Alia 454 | 1,basma 455 | 1,chiraze 456 | 1,Dunya 457 | 1,Ima 458 | 1,manie 459 | 1,narimene 460 | 1,Randa 461 | 1,samah 462 | 1,yassmine 463 | 1,BYA 464 | 1,Dehbia 465 | 1,farahsid 466 | 1,Hanane 467 | 1,jassmin 468 | 1,koukou 469 | 1,loumy 470 | 1,Mayssoune 471 | 1,nejla 472 | 1,Aida 473 | 1,Ati 474 | 1,Ibtissam 475 | 1,kary 476 | 1,Malek 477 | 1,safarouatbi 478 | 1,wissal 479 | 1,AMILAH 480 | 1,blume 481 | 1,Esma 482 | 1,Hadil 483 | 1,kheira 484 | 1,Loli 485 | 1,mary 486 | 1,miya 487 | -------------------------------------------------------------------------------- /bb/wb.csv: -------------------------------------------------------------------------------- 1 | 29,mohamed 2 | 19,amine 3 | 14,karim 4 | 13,Yacine 5 | 11,ahmed 6 | 11,samir 7 | 11,abdou 8 | 10,ali 9 | 10,SALAH 10 | 9,nazim 11 | 9,Walid 12 | 9,Mehdi 13 | 8,lyes 14 | 8,youcef 15 | 8,nassim 16 | 8,Salim 17 | 8,hakim 18 | 7,Hocine 19 | 7,omar 20 | 7,mounir 21 | 6,brahim 22 | 6,anis 23 | 6,djamel 24 | 6,hamza 25 | 6,kamel 26 | 6,Zaki 27 | 6,oussama 28 | 5,Adel 29 | 5,nadir 30 | 5,sami 31 | 5,rachid 32 | 5,mouloud 33 | 5,aziz 34 | 5,Younes 35 | 5,syphax 36 | 5,Rabah 37 | 5,Sofiane 38 | 5,wassim 39 | 5,Farouk 40 | 5,malik 41 | 4,amir 42 | 4,fateh 43 | 4,Amed 44 | 4,nabil 45 | 4,abdelkader 46 | 4,islam 47 | 4,mahdi 48 | 4,Fatteh 49 | 4,fares 50 | 4,RAYAN 51 | 4,Taha 52 | 4,Moumen 53 | 4,hichem 54 | 4,FARID 55 | 4,OUAIL 56 | 4,kader 57 | 4,zakaria 58 | 4,Adam 59 | 4,samy 60 | 4,Chabane 61 | 4,AYMEN 62 | 4,Mourad 63 | 4,Akram 64 | 4,HAMID 65 | 4,mustapha 66 | 3,Abderrahmane 67 | 3,Khalil 68 | 3,chakib 69 | 3,mohammed 70 | 3,zinou 71 | 3,LOTFI 72 | 3,Abdelatif 73 | 3,Houcine 74 | 3,lamine 75 | 3,islem 76 | 3,Riad 77 | 3,Zahir 78 | 3,mokrane 79 | 3,Faycal 80 | 3,Kenzi 81 | 3,meschac 82 | 3,ACHREF 83 | 3,SAID 84 | 3,aissa 85 | 3,Arezki 86 | 3,Aniss 87 | 3,Houssem 88 | 3,yanis 89 | 3,malek 90 | 3,massinissa 91 | 3,Moncef 92 | 3,ferhat 93 | 3,khaled 94 | 3,Amazigh 95 | 3,Anwar 96 | 3,Raouf 97 | 3,Sam 98 | 2,madou 99 | 2,Abdel 100 | 2,Soufiane 101 | 2,badredine 102 | 2,halim 103 | 2,morad 104 | 2,yassine 105 | 2,ayoub 106 | 2,freedy 107 | 2,rochdi 108 | 2,yahia 109 | 2,boka 110 | 2,Ilyes 111 | 2,achour 112 | 2,hicham 113 | 2,zoheir 114 | 2,aimed 115 | 2,Bush 116 | 2,Mahfoud 117 | 2,Elyes 118 | 2,Houd 119 | 2,abdenour 120 | 2,didine 121 | 2,Imad 122 | 2,ABBES 123 | 2,nacer 124 | 2,ihab 125 | 2,djamal 126 | 2,Ismail 127 | 2,Abdelfatteh 128 | 2,RAMI 129 | 2,moundji 130 | 2,Mohand 131 | 2,hamed 132 | 2,Ouanes 133 | 2,Ben 134 | 2,Hachemi 135 | 2,kadi 136 | 2,momo 137 | 2,abderrahim 138 | 2,Imed 139 | 2,madjid 140 | 2,baghdad 141 | 2,juba 142 | 2,arouba 143 | 2,Lounis 144 | 2,YOUSEF 145 | 2,Amayas 146 | 2,GHANI 147 | 2,koceila 148 | 2,Abdelhak 149 | 2,Ibrahim 150 | 2,kaidi 151 | 2,Rida 152 | 2,Abdallah 153 | 2,BahaEddine 154 | 2,Fatah 155 | 2,Ghilas 156 | 2,Wael 157 | 2,dahmane 158 | 2,Faouzi 159 | 2,kaki 160 | 2,Yasser 161 | 1,Aymenkoza 162 | 1,brad 163 | 1,dioubate 164 | 1,Fettah 165 | 1,haroune 166 | 1,Isaak 167 | 1,missipssa 168 | 1,Mousaab 169 | 1,ossi 170 | 1,robin 171 | 1,seyfou 172 | 1,Toufik 173 | 1,zalcas 174 | 1,BAIRI 175 | 1,Chouaib 176 | 1,ElCid 177 | 1,Habib 178 | 1,junior 179 | 1,lakhdar 180 | 1,Marco 181 | 1,Mok 182 | 1,Rachad 183 | 1,saidstudent 184 | 1,yacouba 185 | 1,abdelwahab 186 | 1,Aksil 187 | 1,Asticote 188 | 1,bob 189 | 1,diamand 190 | 1,Hamidi 191 | 1,ilyas 192 | 1,karimm 193 | 1,Meriam 194 | 1,MOULOU 195 | 1,nour 196 | 1,Remo 197 | 1,sebastien 198 | 1,tedj 199 | 1,yssa 200 | 1,abbas 201 | 1,AboubacarSidiki 202 | 1,djillali 203 | 1,ghoulam 204 | 1,hhhhhhhhhhh 205 | 1,JakeBum 206 | 1,kontiki 207 | 1,mamadou 208 | 1,ozama 209 | 1,sabir 210 | 1,Simou 211 | 1,wahid 212 | 1,aomar 213 | 1,benmechih 214 | 1,dalil 215 | 1,FARABI 216 | 1,idir 217 | 1,kalungi 218 | 1,Massy 219 | 1,Rauf 220 | 1,tafersidali 221 | 1,Abderrahmene 222 | 1,alilou 223 | 1,Djabir 224 | 1,hassan 225 | 1,khelaf 226 | 1,moataz 227 | 1,Moussa 228 | 1,othmane 229 | 1,Shel 230 | 1,Urtan 231 | 1,zayn 232 | 1,Adem 233 | 1,AMMAYES 234 | 1,bakiroo 235 | 1,chris 236 | 1,elmakhfi 237 | 1,habibeabed 238 | 1,kac 239 | 1,Marcos 240 | 1,mokhtari 241 | 1,nagui 242 | 1,souley 243 | 1,Abdennour 244 | 1,Akuma 245 | 1,atmane 246 | 1,Dias 247 | 1,hamma 248 | 1,karma 249 | 1,Mad 250 | 1,merou 251 | 1,Nourdine 252 | 1,rezigui 253 | 1,seif 254 | 1,Telmani 255 | 1,Yufayyur 256 | 1,abbe 257 | 1,ameddah 258 | 1,Badro 259 | 1,chance 260 | 1,docteurkader 261 | 1,ghoulem 262 | 1,JAMIL 263 | 1,Kouri 264 | 1,mani 265 | 1,MohammedAbdessalem 266 | 1,nabilABDELKRIM 267 | 1,patrick 268 | 1,safi 269 | 1,sissou 270 | 1,Abdelkarim 271 | 1,AOUED 272 | 1,berbair 273 | 1,Daniel 274 | 1,Halimi 275 | 1,idris 276 | 1,kamamou 277 | 1,Loudjani 278 | 1,Mathis 279 | 1,Morsli 280 | 1,Neel 281 | 1,yeswecan 282 | 1,Abderrehamane 283 | 1,amag 284 | 1,azar 285 | 1,Djafar 286 | 1,gaid 287 | 1,hassane 288 | 1,Khelifa 289 | 1,Modibo 290 | 1,Moussaab 291 | 1,OUACEL 292 | 1,rochdy 293 | 1,Shiki 294 | 1,uu 295 | 1,zerzour 296 | 1,abdelaziz 297 | 1,Adlene 298 | 1,ammine 299 | 1,bechar 300 | 1,Christian 301 | 1,hacen 302 | 1,Kada 303 | 1,lansana 304 | 1,MAROUAN 305 | 1,mokran 306 | 1,Nadl 307 | 1,rahim 308 | 1,Salaheddine 309 | 1,Souleymane 310 | 1,yakoub 311 | 1,aladin 312 | 1,ayache 313 | 1,boormour 314 | 1,fawzi 315 | 1,hammou 316 | 1,kemel 317 | 1,Madani 318 | 1,merouane 319 | 1,nouri 320 | 1,seifeddine 321 | 1,tewfik 322 | 1,Achraf 323 | 1,amigo 324 | 1,badrou 325 | 1,chaoui 326 | 1,doudou 327 | 1,ghyles 328 | 1,jeffrey 329 | 1,krimo 330 | 1,manil 331 | 1,mohammedanes 332 | 1,Pigro 333 | 1,safouane 334 | 1,sof 335 | 1,wallam 336 | 1,Abdelkrim 337 | 1,Aimen 338 | 1,archi 339 | 1,bhbh 340 | 1,DelgadoSamson 341 | 1,halouane 342 | 1,kamano 343 | 1,louhab 344 | 1,MedFTELINA 345 | 1,Mouad 346 | 1,nice 347 | 1,Rayhane 348 | 1,samirou 349 | 1,Takfarinas 350 | 1,abdessamed 351 | 1,Amar 352 | 1,camarade 353 | 1,gala 354 | 1,hassen 355 | 1,Kim 356 | 1,majid 357 | 1,mohzaki 358 | 1,Movino 359 | 1,Roy 360 | 1,Sid 361 | 1,vairon 362 | 1,zico 363 | 1,AdMok 364 | 1,belsoufi 365 | 1,chuck 366 | 1,emad 367 | 1,hacene 368 | 1,houry 369 | 1,larbi 370 | 1,massi 371 | 1,nasser 372 | 1,salih 373 | 1,soumia 374 | 1,YANIK 375 | 1,Abderahmane 376 | 1,Alex 377 | 1,ayachezikioue 378 | 1,boualem 379 | 1,didofidel 380 | 1,Hamou 381 | 1,imadeddine 382 | 1,Madi 383 | 1,riadsid 384 | 1,selber 385 | 1,zak 386 | 1,Abd 387 | 1,Badry 388 | 1,cheik 389 | 1,Dyka 390 | 1,grande 391 | 1,HichemAdel 392 | 1,jimmy 393 | 1,kudl 394 | 1,Manovic 395 | 1,nadd 396 | 1,pinel 397 | 1,sofane 398 | 1,Walle 399 | 1,zozo 400 | 1,Abdellatif 401 | 1,Billal 402 | 1,derbel 403 | 1,Farinas 404 | 1,iheb 405 | 1,KamarEddine 406 | 1,lounes 407 | 1,medhi 408 | 1,moufid 409 | 1,noah 410 | 1,reda 411 | 1,sammy 412 | 1,taki 413 | 1,amawal 414 | 1,Azzedine 415 | 1,Cben 416 | 1,gazet 417 | 1,hatem 418 | 1,Issam 419 | 1,Kimou 420 | 1,makhlouf 421 | 1,mohame 422 | 1,mus 423 | 1,rwoth 424 | 1,SidAhmed 425 | 1,voiitek 426 | 1,zidan 427 | 1,Abdelghani 428 | 1,aghiles 429 | 1,collin 430 | 1,fadi 431 | 1,lebda 432 | 1,massilove 433 | 1,Ramo 434 | 1,Alexandre 435 | 1,ayd 436 | 1,bouattou 437 | 1,Dillan 438 | 1,faycel 439 | 1,Khacheb 440 | 1,MESSAOUD 441 | 1,OOMAR 442 | 1,ricclnne 443 | 1,selmi 444 | 1,Tiieb 445 | 1,Abd-el-alim 446 | 1,aminey 447 | 1,Chems 448 | 1,eden 449 | 1,green 450 | 1,himovich 451 | 1,Laib 452 | 1,MARAM 453 | 1,Mohandsaid 454 | 1,NADHIR 455 | 1,SaidManino 456 | 1,abdelmadjid 457 | 1,akli 458 | 1,blackberry 459 | 1,desmond 460 | 1,Hamel 461 | 1,ikaz 462 | 1,mouha 463 | 1,noble 464 | 1,Redha 465 | 1,tarek 466 | 1,abdoul 467 | 1,babou 468 | 1,djaouad 469 | 1,Haydar 470 | 1,Issem 471 | 1,musta 472 | 1,ouss 473 | 1,ryad 474 | 1,sido 475 | 1,von 476 | 1,zimo 477 | 1,ahamed 478 | 1,Antar 479 | 1,Benabed 480 | 1,DaDy 481 | 1,fanxxm 482 | 1,limamefaouzi 483 | 1,nassir 484 | 1,rani 485 | 1,SALMI 486 | 1,taders 487 | 1,YanisAdel 488 | 1,ABDERRAHMAN 489 | 1,algerian 490 | 1,Bouras 491 | 1,DIM 492 | 1,hand 493 | 1,ioriakuma 494 | 1,Mado 495 | 1,midou 496 | 1,operationsresearch 497 | 1,selnadir 498 | 1,TirsaneMohamed 499 | -------------------------------------------------------------------------------- /test2.py: -------------------------------------------------------------------------------- 1 | import random 2 | import csv 3 | from datetime import datetime, timedelta 4 | from passwordgenerator import pwgenerator 5 | from bs4 import BeautifulSoup 6 | from selenium import webdriver 7 | from selenium.webdriver.common.keys import Keys 8 | import time 9 | import names 10 | import json 11 | from webdriver_manager.chrome import ChromeDriverManager 12 | from selenium.webdriver.chrome.service import Service 13 | from selenium.webdriver.common.by import By 14 | from selenium.webdriver.chrome.options import Options 15 | from selenium.webdriver.support.ui import WebDriverWait 16 | from selenium.webdriver.support import expected_conditions as EC 17 | 18 | 19 | def generate_algerian_phone_number(): 20 | # Choose a random mobile network code 21 | network_codes = ["05", "06", "07"] 22 | mobile_network_code = random.choice(network_codes) 23 | 24 | # Generate a random subscriber number 25 | subscriber_number = "".join([str(random.randint(0, 9)) for _ in range(8)]) 26 | 27 | # Concatenate the parts to form the phone number 28 | phone_number = f"+213 {mobile_network_code} {subscriber_number}" 29 | return phone_number 30 | 31 | def generate_gender(): 32 | genders = ['Male', 'Female'] 33 | return random.choice(genders) 34 | 35 | def generate_username(f, l): 36 | unique_numbers = random.sample(range(1000, 10000), 4) 37 | username = (f[0] + l).lower() + "_" + str(unique_numbers[0]) 38 | return username 39 | 40 | def generate_name_from_csv(gender): 41 | if gender == 'Female': 42 | filename = 'ww/ww.csv' 43 | else: 44 | filename = 'bb/wb.csv' 45 | # Read in the data from the CSV file 46 | names = [] 47 | probabilities = [] 48 | with open(filename, 'r') as csvfile: 49 | reader = csv.reader(csvfile) 50 | for row in reader: 51 | names.append(row[1]) 52 | probabilities.append(float(row[0])) 53 | 54 | # Generate a name based on the probabilities 55 | name = random.choices(names, weights=probabilities)[0] 56 | return name 57 | 58 | def generate_last_name_from_csv(): 59 | filename = 'lastNames.csv' 60 | # Read in the data from the CSV file 61 | names = [] 62 | probabilities = [] 63 | with open(filename, 'r') as csvfile: 64 | reader = csv.reader(csvfile) 65 | for row in reader: 66 | names.append(row[0]) 67 | probabilities.append(float(row[1])) 68 | 69 | # Generate a name based on the probabilities 70 | name = random.choices(names, weights=probabilities)[0] 71 | return name 72 | 73 | 74 | 75 | # Open Chrome browser 76 | # Specify the path to the profile directory 77 | from selenium.webdriver.firefox.options import Options 78 | 79 | chrome_driver_path = r'C:\Users\ASUS\Downloads\chromedriver.exe' 80 | 81 | from selenium.webdriver.chrome.options import Options 82 | 83 | # Specify the path to the profile directory 84 | profile_directory = r'C:\Users\ASUS\AppData\Local\Google\Chrome\User Data\Profile 4' 85 | 86 | # Create ChromeOptions object 87 | chrome_options = Options() 88 | 89 | # Add the profile directory to the ChromeOptions 90 | chrome_options.add_argument(f'--user-data-dir={profile_directory}') 91 | 92 | # Create a ChromeDriver service with the ChromeOptions 93 | service = Service(executable_path=chrome_driver_path, options=chrome_options) 94 | 95 | # Create ChromeDriver using the service 96 | driver = webdriver.Chrome(service=service) 97 | 98 | # Navigate to the website 99 | driver.get("https://www.fakemailgenerator.com/") 100 | 101 | driver.execute_script("window.stop();") 102 | 103 | 104 | # Wait for the page to load 105 | #driver.execute_script("window.stop();") 106 | 107 | email_input = driver.find_element(By.ID, "home-email") 108 | email = email_input.get_attribute("value") 109 | domain_button = driver.find_element(By.ID, "domain-select") 110 | domain = domain_button.text.strip() 111 | g = generate_gender() 112 | f = generate_name_from_csv(g) 113 | l = generate_last_name_from_csv() 114 | 115 | # Password 116 | password_gen = pwgenerator.generate() 117 | 118 | 119 | 120 | # Print the profile information 121 | profile_info = { 122 | "Email": email+domain, 123 | "Password": password_gen, 124 | "First Name": f, 125 | "Last Name": l, 126 | "Gender": g, 127 | } 128 | 129 | print(json.dumps(profile_info)) 130 | driver.execute_script("window.open('about:blank', '_blank');") 131 | facebook = 'https://www.facebook.com/' 132 | driver.switch_to.window(driver.window_handles[-1]) 133 | driver.get(facebook) 134 | time.sleep(3) 135 | # fill the regestration page 136 | #=========================================================================== 137 | element = driver.find_element(By.CLASS_NAME, "_4jy2") 138 | element.click() 139 | wait = WebDriverWait(driver, 50) 140 | 141 | firstname = wait.until(EC.visibility_of_element_located((By.NAME, "firstname"))) 142 | lastname = driver.find_element(By.NAME, "lastname") 143 | email = driver.find_element(By.NAME, "reg_email__") 144 | email_confirmation = driver.find_element(By.NAME, "reg_email_confirmation__") 145 | password = driver.find_element(By.NAME, "reg_passwd__") 146 | birthday_day = driver.find_element(By.NAME, "birthday_day") 147 | birthday_month = driver.find_element(By.NAME, "birthday_month") 148 | birthday_year = driver.find_element(By.NAME, "birthday_year") 149 | gender = driver.find_element(By.NAME, "sex") 150 | gender_buttons = driver.find_elements(By.CSS_SELECTOR, 'span._5k_2._5dba') 151 | 152 | 153 | 154 | #fill 155 | firstname.send_keys(f) 156 | lastname.send_keys(l) 157 | email.send_keys(profile_info["Email"]) 158 | if email_confirmation: 159 | email_confirmation.send_keys(profile_info["Email"]) 160 | password.send_keys(password_gen) 161 | # Randomly select a day between 1 and 31 162 | day = random.randint(1, 31) 163 | 164 | # Randomly select a month from the available options 165 | months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] 166 | month = random.choice(months) 167 | 168 | # Adjust the day if the month is February and the selected day is greater than 28 169 | if month == "Feb" and day > 28: 170 | day = 28 171 | 172 | # Randomly select a year between 1905 and 2023 173 | year = random.randint(1988, 2005) 174 | 175 | # Update the form fields with the random values 176 | birthday_day.send_keys(str(day)) 177 | birthday_month.send_keys(month) 178 | birthday_year.send_keys(str(year)) 179 | 180 | if g == 'Female': 181 | female_button = gender_buttons[0].find_element(By.CSS_SELECTOR, 'input[type="radio"][name="sex"][value="1"]') 182 | female_button.click() 183 | else: 184 | male_button = gender_buttons[1].find_element(By.CSS_SELECTOR, 'input[type="radio"][name="sex"][value="2"]') 185 | male_button.click() 186 | 187 | 188 | driver.find_element(By.NAME, 'websubmit').click() 189 | time.sleep(5) 190 | 191 | 192 | #get the confermation code 193 | #============================================================================== 194 | driver.switch_to.window(driver.window_handles[0]) 195 | print("switched and sleep") 196 | driver.refresh() 197 | confirmation_code_element = WebDriverWait(driver, 150).until( 198 | EC.visibility_of_element_located((By.XPATH, '//dd[contains(text(), "Facebook confirmation code")]')) 199 | ) 200 | # Extract the confirmation code from the element 201 | # Extract the confirmation code from the element and exclude "FB-" 202 | confirmation_code = confirmation_code_element.text.split(' ')[0].replace("FB-", "") 203 | 204 | print(confirmation_code) 205 | 206 | #go back and confirm 207 | #================================================================================== 208 | driver.switch_to.window(driver.window_handles[-1]) 209 | input_field = driver.find_element(By.ID, "code_in_cliff") 210 | input_field.send_keys(confirmation_code) 211 | time.sleep(5) 212 | continue_button = driver.find_element(By.CSS_SELECTOR, 'button._42ft.mls._4jy0._8iu3._8iu6._4jy4._4jy1.selected._51sy') 213 | continue_button.click() 214 | time.sleep(15) 215 | 216 | driver.get("https://www.facebook.com/ItzMouhLaad") 217 | time.sleep(5) 218 | menu_button = driver.find_element(By.XPATH, '/html/body/div[1]/div[1]/div[1]/div/div[3]/div/div/div/div[1]/div[1]/div/div/div[3]/div/div/div/div[2]/div/div/div/div[1]') 219 | 220 | # Click the three-dot menu button to expand the options 221 | menu_button.click() 222 | 223 | # Wait for the menu to expand 224 | time.sleep(3) 225 | 226 | # Find and click the "Follow" option from the expanded menu 227 | follow_option = driver.find_element(By.XPATH, '//span[text()="Follow"]') 228 | follow_option.click() 229 | -------------------------------------------------------------------------------- /create_algerian_facebook_account.py: -------------------------------------------------------------------------------- 1 | import random 2 | import csv 3 | from datetime import datetime, timedelta 4 | from passwordgenerator import pwgenerator 5 | from bs4 import BeautifulSoup 6 | from selenium import webdriver 7 | from selenium.webdriver.common.keys import Keys 8 | import time 9 | import names 10 | import json 11 | from webdriver_manager.chrome import ChromeDriverManager 12 | from selenium.webdriver.chrome.service import Service 13 | from selenium.webdriver.common.by import By 14 | from selenium.webdriver.chrome.options import Options 15 | from selenium.webdriver.support.ui import WebDriverWait 16 | from selenium.webdriver.support import expected_conditions as EC 17 | from selenium.common.exceptions import NoSuchElementException 18 | from selenium.webdriver.common.action_chains import ActionChains 19 | import pyautogui 20 | 21 | 22 | 23 | 24 | 25 | def generate_algerian_phone_number(): 26 | # Choose a random mobile network code 27 | network_codes = ["05", "06", "07"] 28 | mobile_network_code = random.choice(network_codes) 29 | 30 | # Generate a random subscriber number 31 | subscriber_number = "".join([str(random.randint(0, 9)) for _ in range(8)]) 32 | 33 | # Concatenate the parts to form the phone number 34 | phone_number = f"+213 {mobile_network_code} {subscriber_number}" 35 | return phone_number 36 | 37 | def generate_gender(): 38 | genders = ['Male', 'Female'] 39 | return random.choice(genders) 40 | 41 | def generate_username(f, l): 42 | unique_numbers = random.sample(range(1000, 10000), 4) 43 | username = (f[0] + l).lower() + "_" + str(unique_numbers[0]) 44 | return username 45 | 46 | def generate_name_from_csv(gender): 47 | if gender == 'Female': 48 | filename = 'ww/ww.csv' 49 | else: 50 | filename = 'bb/wb.csv' 51 | # Read in the data from the CSV file 52 | names = [] 53 | probabilities = [] 54 | with open(filename, 'r') as csvfile: 55 | reader = csv.reader(csvfile) 56 | for row in reader: 57 | names.append(row[1]) 58 | probabilities.append(float(row[0])) 59 | 60 | # Generate a name based on the probabilities 61 | name = random.choices(names, weights=probabilities)[0] 62 | return name 63 | 64 | def generate_last_name_from_csv(): 65 | filename = 'lastNames.csv' 66 | # Read in the data from the CSV file 67 | names = [] 68 | probabilities = [] 69 | with open(filename, 'r') as csvfile: 70 | reader = csv.reader(csvfile) 71 | for row in reader: 72 | names.append(row[0]) 73 | probabilities.append(float(row[1])) 74 | 75 | # Generate a name based on the probabilities 76 | name = random.choices(names, weights=probabilities)[0] 77 | return name 78 | 79 | 80 | 81 | # Open Chrome browser 82 | # Specify the path to the profile directory 83 | from selenium.webdriver.firefox.options import Options 84 | 85 | # Specify the path to the Tor Browser's Firefox executable 86 | tor_executable_path = r'Tor Browser\Browser\firefox.exe' 87 | 88 | # Create FirefoxOptions object 89 | firefox_options = Options() 90 | 91 | # Configure the proxy settings for Tor 92 | firefox_options.set_preference('network.proxy.type', 1) 93 | firefox_options.set_preference('network.proxy.socks', '127.0.0.1') 94 | firefox_options.set_preference('network.proxy.socks_port', 9150) 95 | 96 | # Set the path to the Tor Browser's Firefox executable 97 | firefox_options.binary_location = tor_executable_path 98 | 99 | # Create the FirefoxDriver using the FirefoxOptions 100 | driver = webdriver.Firefox(options=firefox_options) 101 | time.sleep(5) 102 | 103 | time.sleep(1) # Wait for 1 second 104 | 105 | pyautogui.press('esc') 106 | 107 | connect_button = driver.find_element(By.ID, "connectButton") 108 | 109 | connect_button.click() 110 | time.sleep(20) 111 | 112 | # Navigate to the website 113 | driver.get("https://www.fakemailgenerator.com/") 114 | 115 | driver.execute_script("window.stop();") 116 | 117 | 118 | # Wait for the page to load 119 | #driver.execute_script("window.stop();") 120 | 121 | email_input = driver.find_element(By.ID, "home-email") 122 | email = email_input.get_attribute("value") 123 | domain_button = driver.find_element(By.ID, "domain-select") 124 | domain = domain_button.text.strip() 125 | g = generate_gender() 126 | f = generate_name_from_csv(g) 127 | l = generate_last_name_from_csv() 128 | 129 | # Password 130 | password_gen = pwgenerator.generate() 131 | 132 | 133 | 134 | # Print the profile information 135 | profile_info = { 136 | "Email": email+domain, 137 | "Password": password_gen, 138 | "First Name": f, 139 | "Last Name": l, 140 | "Gender": g, 141 | } 142 | 143 | print(json.dumps(profile_info)) 144 | driver.execute_script("window.open('about:blank', '_blank');") 145 | facebook = 'https://www.facebook.com/' 146 | driver.switch_to.window(driver.window_handles[-1]) 147 | driver.get(facebook) 148 | time.sleep(3) 149 | try: 150 | button = driver.find_element(By.CSS_SELECTOR, 'button[data-cookiebanner="accept_button"][title="Allow all cookies"]') 151 | button.click() 152 | 153 | except NoSuchElementException: 154 | print("Button not found on the page.") 155 | 156 | # fill the regestration page 157 | #=========================================================================== 158 | element = driver.find_element(By.CLASS_NAME, "_4jy2") 159 | element.click() 160 | wait = WebDriverWait(driver, 50) 161 | 162 | firstname = wait.until(EC.visibility_of_element_located((By.NAME, "firstname"))) 163 | lastname = driver.find_element(By.NAME, "lastname") 164 | email = driver.find_element(By.NAME, "reg_email__") 165 | #time.sleep(1) 166 | #email_confirmation = driver.find_element(By.NAME, "reg_email_confirmation__") 167 | password = driver.find_element(By.NAME, "reg_passwd__") 168 | birthday_day = driver.find_element(By.NAME, "birthday_day") 169 | birthday_month = driver.find_element(By.NAME, "birthday_month") 170 | time.sleep(1) 171 | 172 | birthday_year = driver.find_element(By.NAME, "birthday_year") 173 | gender = driver.find_element(By.NAME, "sex") 174 | gender_buttons = driver.find_elements(By.CSS_SELECTOR, 'span._5k_2._5dba') 175 | 176 | 177 | 178 | #fill 179 | firstname.send_keys(f) 180 | lastname.send_keys(l) 181 | email.send_keys(profile_info["Email"]) 182 | time.sleep(1) 183 | try: 184 | email_confirmation = driver.find_element(By.NAME, "reg_email_confirmation__") 185 | email_confirmation.send_keys(profile_info["Email"]) 186 | except NoSuchElementException: 187 | pass 188 | 189 | password.send_keys(password_gen) 190 | # Randomly select a day between 1 and 31 191 | day = random.randint(1, 28) 192 | 193 | # Randomly select a month from the available options 194 | months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] 195 | month = random.choice(months) 196 | 197 | 198 | 199 | # Randomly select a year between 1905 and 2023 200 | 201 | year = random.randint(1988, 2005) 202 | # Update the form fields with the random values 203 | #birthday_day.send_keys(str(day)) 204 | birthday_month.send_keys(month) 205 | 206 | ActionChains(driver).move_to_element(birthday_day).click().perform() 207 | desired_day = str(day) # Convert the generated day to string 208 | day_option = driver.find_element(By.XPATH, f'//option[@value="{desired_day}"]') 209 | day_option.click() 210 | time.sleep(1) 211 | 212 | ActionChains(driver).move_to_element(birthday_year).click().perform() 213 | desired_year = str(year) 214 | year_option = driver.find_element(By.XPATH, f'//option[@value="{desired_year}"]') 215 | year_option.click() 216 | 217 | 218 | 219 | if g == 'Female': 220 | female_button = gender_buttons[0].find_element(By.CSS_SELECTOR, 'input[type="radio"][name="sex"][value="1"]') 221 | female_button.click() 222 | else: 223 | male_button = gender_buttons[1].find_element(By.CSS_SELECTOR, 'input[type="radio"][name="sex"][value="2"]') 224 | male_button.click() 225 | 226 | 227 | driver.find_element(By.NAME, 'websubmit').click() 228 | time.sleep(5) 229 | 230 | 231 | #get the confermation code 232 | #============================================================================== 233 | driver.switch_to.window(driver.window_handles[0]) 234 | print("switched and sleep") 235 | driver.refresh() 236 | confirmation_code_element = WebDriverWait(driver, 300).until( 237 | EC.visibility_of_element_located((By.XPATH, '//dd[contains(text(), "Facebook confirmation code")]')) 238 | ) 239 | # Extract the confirmation code from the element 240 | # Extract the confirmation code from the element and exclude "FB-" 241 | confirmation_code = confirmation_code_element.text.split(' ')[0].replace("FB-", "") 242 | 243 | print(f"confermation code {confirmation_code}") 244 | 245 | #go back and confirm 246 | #================================================================================== 247 | driver.switch_to.window(driver.window_handles[-1]) 248 | input_field = driver.find_element(By.ID, "code_in_cliff") 249 | input_field.send_keys(confirmation_code) 250 | #time.sleep(5) 251 | continue_button = driver.find_element(By.CSS_SELECTOR, 'button._42ft.mls._4jy0._8iu3._8iu6._4jy4._4jy1.selected._51sy') 252 | continue_button.click() 253 | 254 | time.sleep(15) 255 | driver.get("https://www.facebook.com/ItzMouhLaad") 256 | time.sleep(5) 257 | menu_button = driver.find_element(By.XPATH, '//div[@aria-label="See options"]') 258 | menu_button.click() 259 | 260 | 261 | # Wait for the menu to expand 262 | time.sleep(3) 263 | 264 | # Find and click the "Follow" option from the expanded menu 265 | follow_option = driver.find_element(By.XPATH, '//span[text()="Follow"]') 266 | follow_option.click() 267 | print(f"{profile_info['Email']} followed you") 268 | driver.quit() 269 | 270 | -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- 1 | import csv 2 | import json 3 | import random 4 | from selenium import webdriver 5 | from selenium.webdriver.firefox.options import Options 6 | from selenium.webdriver.common.by import By 7 | from selenium.webdriver.support.ui import WebDriverWait 8 | from selenium.webdriver.support import expected_conditions as EC 9 | from selenium.common.exceptions import NoSuchElementException 10 | import time 11 | from pyvirtualdisplay import Display 12 | from selenium.webdriver.common.action_chains import ActionChains 13 | import pyautogui 14 | from passwordgenerator import pwgenerator 15 | 16 | 17 | # ... Your existing functions ... 18 | 19 | def generate_algerian_phone_number(): 20 | # Choose a random mobile network code 21 | network_codes = ["05", "06", "07"] 22 | mobile_network_code = random.choice(network_codes) 23 | 24 | # Generate a random subscriber number 25 | subscriber_number = "".join([str(random.randint(0, 9)) for _ in range(8)]) 26 | 27 | # Concatenate the parts to form the phone number 28 | phone_number = f"+213 {mobile_network_code} {subscriber_number}" 29 | return phone_number 30 | 31 | def generate_gender(): 32 | genders = ['Male', 'Female'] 33 | return random.choice(genders) 34 | 35 | def generate_username(f, l): 36 | unique_numbers = random.sample(range(1000, 10000), 4) 37 | username = (f[0] + l).lower() + "_" + str(unique_numbers[0]) 38 | return username 39 | 40 | def generate_name_from_csv(gender): 41 | if gender == 'Female': 42 | filename = 'ww/ww.csv' 43 | else: 44 | filename = 'bb/wb.csv' 45 | # Read in the data from the CSV file 46 | names = [] 47 | probabilities = [] 48 | with open(filename, 'r') as csvfile: 49 | reader = csv.reader(csvfile) 50 | for row in reader: 51 | names.append(row[1]) 52 | probabilities.append(float(row[0])) 53 | 54 | # Generate a name based on the probabilities 55 | name = random.choices(names, weights=probabilities)[0] 56 | return name 57 | 58 | def generate_last_name_from_csv(): 59 | filename = 'lastNames.csv' 60 | # Read in the data from the CSV file 61 | names = [] 62 | probabilities = [] 63 | with open(filename, 'r') as csvfile: 64 | reader = csv.reader(csvfile) 65 | for row in reader: 66 | names.append(row[0]) 67 | probabilities.append(float(row[1])) 68 | 69 | # Generate a name based on the probabilities 70 | name = random.choices(names, weights=probabilities)[0] 71 | return name 72 | 73 | def main(): 74 | # Specify the path to the Tor Browser's Firefox executable 75 | tor_executable_path = r'C:\Users\ASUS\Desktop\Tor Browser\Browser\firefox.exe' 76 | 77 | # Create FirefoxOptions object 78 | firefox_options = Options() 79 | 80 | # Configure the proxy settings for Tor 81 | firefox_options.set_preference('network.proxy.type', 1) 82 | firefox_options.set_preference('network.proxy.socks', '127.0.0.1') 83 | firefox_options.set_preference('network.proxy.socks_port', 9150) 84 | 85 | # Set the path to the Tor Browser's Firefox executable 86 | firefox_options.binary_location = tor_executable_path 87 | 88 | # Create the FirefoxDriver using the FirefoxOptions 89 | driver = webdriver.Firefox(options=firefox_options) 90 | time.sleep(5) 91 | 92 | time.sleep(1) # Wait for 1 second 93 | 94 | pyautogui.press('esc') 95 | 96 | connect_button = driver.find_element(By.ID, "connectButton") 97 | 98 | connect_button.click() 99 | time.sleep(20) 100 | 101 | # Navigate to the website 102 | driver.get("https://www.fakemailgenerator.com/") 103 | 104 | driver.execute_script("window.stop();") 105 | 106 | 107 | # Wait for the page to load 108 | #driver.execute_script("window.stop();") 109 | 110 | email_input = driver.find_element(By.ID, "home-email") 111 | email = email_input.get_attribute("value") 112 | domain_button = driver.find_element(By.ID, "domain-select") 113 | domain = domain_button.text.strip() 114 | g = generate_gender() 115 | f = generate_name_from_csv(g) 116 | l = generate_last_name_from_csv() 117 | 118 | # Password 119 | password_gen = pwgenerator.generate() 120 | 121 | 122 | 123 | # Print the profile information 124 | profile_info = { 125 | "Email": email+domain, 126 | "Password": password_gen, 127 | "First Name": f, 128 | "Last Name": l, 129 | "Gender": g, 130 | } 131 | 132 | print(json.dumps(profile_info)) 133 | driver.execute_script("window.open('about:blank', '_blank');") 134 | facebook = 'https://www.facebook.com/' 135 | driver.switch_to.window(driver.window_handles[-1]) 136 | driver.get(facebook) 137 | time.sleep(3) 138 | try: 139 | button = driver.find_element(By.CSS_SELECTOR, 'button[data-cookiebanner="accept_button"][title="Allow all cookies"]') 140 | button.click() 141 | 142 | except NoSuchElementException: 143 | print("Button not found on the page.") 144 | 145 | # fill the regestration page 146 | #=========================================================================== 147 | element = driver.find_element(By.CLASS_NAME, "_4jy2") 148 | element.click() 149 | wait = WebDriverWait(driver, 50) 150 | 151 | firstname = wait.until(EC.visibility_of_element_located((By.NAME, "firstname"))) 152 | lastname = driver.find_element(By.NAME, "lastname") 153 | email = driver.find_element(By.NAME, "reg_email__") 154 | #time.sleep(1) 155 | #email_confirmation = driver.find_element(By.NAME, "reg_email_confirmation__") 156 | password = driver.find_element(By.NAME, "reg_passwd__") 157 | birthday_day = driver.find_element(By.NAME, "birthday_day") 158 | birthday_month = driver.find_element(By.NAME, "birthday_month") 159 | time.sleep(1) 160 | 161 | birthday_year = driver.find_element(By.NAME, "birthday_year") 162 | gender = driver.find_element(By.NAME, "sex") 163 | gender_buttons = driver.find_elements(By.CSS_SELECTOR, 'span._5k_2._5dba') 164 | 165 | 166 | 167 | #fill 168 | firstname.send_keys(f) 169 | lastname.send_keys(l) 170 | email.send_keys(profile_info["Email"]) 171 | time.sleep(1) 172 | try: 173 | email_confirmation = driver.find_element(By.NAME, "reg_email_confirmation__") 174 | email_confirmation.send_keys(profile_info["Email"]) 175 | except NoSuchElementException: 176 | pass 177 | 178 | password.send_keys(password_gen) 179 | # Randomly select a day between 1 and 31 180 | day = random.randint(1, 28) 181 | 182 | # Randomly select a month from the available options 183 | months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] 184 | month = random.choice(months) 185 | 186 | 187 | 188 | # Randomly select a year between 1905 and 2023 189 | 190 | year = random.randint(1988, 2005) 191 | print("Generated Year:", year) 192 | print("Generated month:",month) 193 | print("Generated day:",day) 194 | # Update the form fields with the random values 195 | #birthday_day.send_keys(str(day)) 196 | birthday_month.send_keys(month) 197 | 198 | ActionChains(driver).move_to_element(birthday_day).click().perform() 199 | desired_day = str(day) # Convert the generated day to string 200 | day_option = driver.find_element(By.XPATH, f'//option[@value="{desired_day}"]') 201 | day_option.click() 202 | time.sleep(1) 203 | 204 | ActionChains(driver).move_to_element(birthday_year).click().perform() 205 | desired_year = str(year) 206 | year_option = driver.find_element(By.XPATH, f'//option[@value="{desired_year}"]') 207 | year_option.click() 208 | 209 | 210 | 211 | if g == 'Female': 212 | female_button = gender_buttons[0].find_element(By.CSS_SELECTOR, 'input[type="radio"][name="sex"][value="1"]') 213 | female_button.click() 214 | else: 215 | male_button = gender_buttons[1].find_element(By.CSS_SELECTOR, 'input[type="radio"][name="sex"][value="2"]') 216 | male_button.click() 217 | 218 | 219 | driver.find_element(By.NAME, 'websubmit').click() 220 | time.sleep(5) 221 | 222 | 223 | #get the confermation code 224 | #============================================================================== 225 | driver.switch_to.window(driver.window_handles[0]) 226 | print("switched and sleep") 227 | driver.refresh() 228 | confirmation_code_element = WebDriverWait(driver, 300).until( 229 | EC.visibility_of_element_located((By.XPATH, '//dd[contains(text(), "Facebook confirmation code")]')) 230 | ) 231 | # Extract the confirmation code from the element 232 | # Extract the confirmation code from the element and exclude "FB-" 233 | confirmation_code = confirmation_code_element.text.split(' ')[0].replace("FB-", "") 234 | 235 | print(f"confermation code {confirmation_code}") 236 | 237 | #go back and confirm 238 | #================================================================================== 239 | driver.switch_to.window(driver.window_handles[-1]) 240 | input_field = driver.find_element(By.ID, "code_in_cliff") 241 | input_field.send_keys(confirmation_code) 242 | #time.sleep(5) 243 | continue_button = driver.find_element(By.CSS_SELECTOR, 'button._42ft.mls._4jy0._8iu3._8iu6._4jy4._4jy1.selected._51sy') 244 | continue_button.click() 245 | 246 | time.sleep(15) 247 | driver.get("https://www.facebook.com/ItzMouhLaad") 248 | time.sleep(5) 249 | menu_button = driver.find_element(By.XPATH, '//div[@aria-label="See options"]') 250 | menu_button.click() 251 | 252 | 253 | # Wait for the menu to expand 254 | time.sleep(3) 255 | 256 | # Find and click the "Follow" option from the expanded menu 257 | follow_option = driver.find_element(By.XPATH, '//span[text()="Follow"]') 258 | follow_option.click() 259 | print(f"{profile_info['Email']} followed you") 260 | with open("accounts.json", "w") as file: 261 | # Write the profile_info dictionary to the file 262 | json.dump(profile_info, file) 263 | 264 | print("Profile information saved to accounts.json file.") 265 | 266 | # Quit the driver and stop the virtual display 267 | driver.quit() 268 | 269 | if __name__ == "__main__": 270 | main() 271 | --------------------------------------------------------------------------------